Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
c85283ef
Commit
c85283ef
authored
May 16, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gtk_main: fix compilation.... Completly untested.
Should we keep this code?
parent
2f0c83bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/misc/gtk_main.c
modules/misc/gtk_main.c
+3
-3
No files found.
modules/misc/gtk_main.c
View file @
c85283ef
...
...
@@ -94,7 +94,7 @@ static int Open( vlc_object_t *p_this )
if
(
i_refcount
>
0
)
{
i_refcount
++
;
vlc_mutex_unlock
(
lock
);
vlc_mutex_unlock
(
&
gtk_
lock
);
return
VLC_SUCCESS
;
}
...
...
@@ -110,11 +110,11 @@ static int Open( vlc_object_t *p_this )
/* Launch the gtk_main() thread. It will not return until it has
* called gdk_threads_enter(), which ensures us thread safety. */
if
(
vlc_thread_create
(
p_gtk_main
,
"gtk_main"
,
GtkMain
,
VLC_THREAD_PRIORITY_LOW
,
true
)
)
VLC_THREAD_PRIORITY_LOW
)
)
{
vlc_object_release
(
p_gtk_main
);
i_refcount
--
;
vlc_mutex_unlock
(
lock
);
vlc_mutex_unlock
(
&
gtk_
lock
);
return
VLC_ETHREAD
;
}
...
...
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