Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
6207df1a
Commit
6207df1a
authored
Apr 21, 2003
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixed the previous commit for linux
parent
8414047e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
21 deletions
+17
-21
modules/gui/skins/gtk2/gtk2_run.cpp
modules/gui/skins/gtk2/gtk2_run.cpp
+17
-21
No files found.
modules/gui/skins/gtk2/gtk2_run.cpp
View file @
6207df1a
...
...
@@ -2,7 +2,7 @@
* gtk2_run.cpp:
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_run.cpp,v 1.1
7 2003/04/21 02:50:49
asmax Exp $
* $Id: gtk2_run.cpp,v 1.1
8 2003/04/21 03:37:40
asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
...
...
@@ -197,6 +197,17 @@ void GTK2Proc( GdkEvent *event, gpointer data )
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// REFRESH TIMER CALLBACK
//---------------------------------------------------------------------------
gboolean
RefreshTimer
(
gpointer
data
)
{
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
data
;
SkinManage
(
p_intf
);
return
true
;
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Implementation of Instance class
...
...
@@ -226,27 +237,14 @@ bool Instance::OnInit()
p_intf
->
p_sys
->
PrefsDlg
=
new
PrefsDialog
(
p_intf
,
NULL
);
p_intf
->
p_sys
->
InfoDlg
=
new
FileInfo
(
p_intf
,
NULL
);
vlc_mutex_lock
(
&
p_intf
->
p_sys
->
init_lock
);
vlc_cond_signal
(
&
p_intf
->
p_sys
->
init_cond
);
vlc_mutex_unlock
(
&
p_intf
->
p_sys
->
init_lock
);
// Add timer
g_timeout_add
(
200
,
(
GSourceFunc
)
RefreshTimer
,
(
gpointer
)
p_intf
);
return
TRUE
;
}
//---------------------------------------------------------------------------
// REFRESH TIMER CALLBACK
//---------------------------------------------------------------------------
gboolean
RefreshTimer
(
gpointer
data
)
{
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
data
;
SkinManage
(
p_intf
);
return
true
;
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// GTK2 interface
//---------------------------------------------------------------------------
...
...
@@ -260,12 +258,10 @@ void OSRun( intf_thread_t *p_intf )
wxTheApp
=
new
Instance
(
p_intf
,
callbackobj
);
vlc_mutex_lock
(
&
p_intf
->
p_sys
->
init_lock
);
/*
vlc_mutex_lock( &p_intf->p_sys->init_lock );
vlc_cond_wait( &p_intf->p_sys->init_cond, &p_intf->p_sys->init_lock );
vlc_mutex_unlock
(
&
p_intf
->
p_sys
->
init_lock
);
vlc_mutex_unlock( &p_intf->p_sys->init_lock );
*/
// Add timer
g_timeout_add
(
200
,
(
GSourceFunc
)
RefreshTimer
,
(
gpointer
)
p_intf
);
wxEntry
(
1
,
p_args
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment