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
6707159e
Commit
6707159e
authored
Mar 18, 2012
by
Mirsal Ennaime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbus: remove useless callback and fix warnings
parent
485d2aa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
16 deletions
+2
-16
modules/control/dbus/dbus.c
modules/control/dbus/dbus.c
+2
-16
No files found.
modules/control/dbus/dbus.c
View file @
6707159e
...
...
@@ -97,10 +97,6 @@ static void Run ( intf_thread_t * );
static
int
TrackChange
(
intf_thread_t
*
);
static
int
AllCallback
(
vlc_object_t
*
,
const
char
*
,
vlc_value_t
,
vlc_value_t
,
void
*
);
static
void
dispatch_status_cb
(
DBusConnection
*
p_conn
,
DBusDispatchStatus
i_status
,
void
*
p_data
);
static
dbus_bool_t
add_timeout
(
DBusTimeout
*
p_timeout
,
void
*
p_data
);
static
dbus_bool_t
add_watch
(
DBusWatch
*
p_watch
,
void
*
p_data
);
...
...
@@ -233,10 +229,6 @@ static int Open( vlc_object_t *p_this )
var_AddCallback
(
p_playlist
,
"loop"
,
AllCallback
,
p_intf
);
var_AddCallback
(
p_playlist
,
"fullscreen"
,
AllCallback
,
p_intf
);
dbus_connection_set_dispatch_status_function
(
p_conn
,
dispatch_status_cb
,
p_intf
,
NULL
);
if
(
!
dbus_connection_set_timeout_functions
(
p_conn
,
add_timeout
,
remove_timeout
,
...
...
@@ -313,14 +305,6 @@ static void Close ( vlc_object_t *p_this )
free
(
p_sys
);
}
static
void
dispatch_status_cb
(
DBusConnection
*
p_conn
,
DBusDispatchStatus
i_status
,
void
*
p_data
)
{
(
void
)
p_conn
;
}
static
dbus_bool_t
add_timeout
(
DBusTimeout
*
p_timeout
,
void
*
p_data
)
{
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
p_data
;
...
...
@@ -617,6 +601,8 @@ static void ProcessWatches( intf_thread_t *p_intf,
DBusWatch
**
p_watches
,
int
i_watches
,
struct
pollfd
*
p_fds
,
int
i_fds
)
{
VLC_UNUSED
(
p_intf
);
/* Process watches */
for
(
int
i
=
0
;
i
<
i_watches
;
i
++
)
{
...
...
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