Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
5c291911
Commit
5c291911
authored
Mar 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PDA GTK: remove dummy locking
parent
4a0cc5f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
modules/gui/pda/pda.c
modules/gui/pda/pda.c
+0
-5
modules/gui/pda/pda_callbacks.c
modules/gui/pda/pda_callbacks.c
+0
-6
No files found.
modules/gui/pda/pda.c
View file @
5c291911
...
...
@@ -397,7 +397,6 @@ void GtkAutoPlayFile( vlc_object_t *p_this )
static
int
Manage
(
intf_thread_t
*
p_intf
)
{
GtkListStore
*
p_liststore
;
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
/* Update the input */
if
(
p_intf
->
p_sys
->
p_input
==
NULL
)
...
...
@@ -522,8 +521,6 @@ static int Manage( intf_thread_t *p_intf )
#ifndef NEED_GTK2_MAIN
if
(
!
vlc_object_alive
(
p_intf
)
)
{
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
/* Prepare to die, young Skywalker */
gtk_main_quit
();
...
...
@@ -531,8 +528,6 @@ static int Manage( intf_thread_t *p_intf )
}
#endif
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
return
TRUE
;
}
...
...
modules/gui/pda/pda_callbacks.c
View file @
5c291911
...
...
@@ -346,9 +346,7 @@ gboolean onPDADeleteEvent(GtkWidget *widget, GdkEvent *event, gpointer user_data
{
intf_thread_t
*
p_intf
=
GtkGetIntf
(
widget
);
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
msg_Dbg
(
p_intf
,
"about to exit vlc ... signaled"
);
return
TRUE
;
...
...
@@ -437,9 +435,7 @@ gboolean SliderRelease(GtkWidget *widget, GdkEventButton *event, gpointer user_d
intf_thread_t
*
p_intf
=
GtkGetIntf
(
widget
);
msg_Dbg
(
p_intf
,
"SliderButton Release"
);
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
p_intf
->
p_sys
->
b_slider_free
=
1
;
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
return
TRUE
;
}
...
...
@@ -449,9 +445,7 @@ gboolean SliderPress(GtkWidget *widget, GdkEventButton *event, gpointer user_dat
intf_thread_t
*
p_intf
=
GtkGetIntf
(
widget
);
msg_Dbg
(
p_intf
,
"SliderButton Press"
);
vlc_mutex_lock
(
&
p_intf
->
change_lock
);
p_intf
->
p_sys
->
b_slider_free
=
0
;
vlc_mutex_unlock
(
&
p_intf
->
change_lock
);
return
FALSE
;
}
...
...
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