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
441e2609
Commit
441e2609
authored
Feb 25, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
notify: less includes.
parent
82b4611c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
modules/misc/notify/notify.c
modules/misc/notify/notify.c
+0
-2
modules/misc/notify/telepathy.c
modules/misc/notify/telepathy.c
+4
-6
No files found.
modules/misc/notify/notify.c
View file @
441e2609
...
@@ -32,9 +32,7 @@
...
@@ -32,9 +32,7 @@
#include <vlc_plugin.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>
#include <vlc_interface.h>
#include <vlc_playlist.h>
#include <vlc_playlist.h>
#include <vlc_meta.h>
#include <errno.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libnotify/notify.h>
#include <libnotify/notify.h>
...
...
modules/misc/notify/telepathy.c
View file @
441e2609
/*****************************************************************************
/*****************************************************************************
* telepathy.c : changes Telepathy Presence information using MissionControl
* telepathy.c : changes Telepathy Presence information using MissionControl
*****************************************************************************
*****************************************************************************
* Copyright © 2007 the VideoLAN team
* Copyright © 2007
-2009
the VideoLAN team
* $Id$
* $Id$
*
*
* Author: Rafaël Carré <funman@videoanorg>
* Author: Rafaël Carré <funman@videoanorg>
...
@@ -32,9 +32,9 @@
...
@@ -32,9 +32,9 @@
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>
#include <vlc_interface.h>
#include <vlc_meta.h>
#include <vlc_playlist.h>
#include <vlc_playlist.h>
#include <vlc_strings.h>
#include <vlc_strings.h>
#include <dbus/dbus.h>
#include <dbus/dbus.h>
/*****************************************************************************
/*****************************************************************************
...
@@ -94,7 +94,6 @@ static int Open( vlc_object_t *p_this )
...
@@ -94,7 +94,6 @@ static int Open( vlc_object_t *p_this )
{
{
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
p_this
;
intf_thread_t
*
p_intf
=
(
intf_thread_t
*
)
p_this
;
playlist_t
*
p_playlist
;
playlist_t
*
p_playlist
;
DBusConnection
*
p_conn
;
DBusError
error
;
DBusError
error
;
p_intf
->
p_sys
=
malloc
(
sizeof
(
intf_sys_t
)
);
p_intf
->
p_sys
=
malloc
(
sizeof
(
intf_sys_t
)
);
...
@@ -103,8 +102,8 @@ static int Open( vlc_object_t *p_this )
...
@@ -103,8 +102,8 @@ static int Open( vlc_object_t *p_this )
/* connect to the session bus */
/* connect to the session bus */
dbus_error_init
(
&
error
);
dbus_error_init
(
&
error
);
p_conn
=
dbus_bus_get
(
DBUS_BUS_SESSION
,
&
error
);
p_
intf
->
p_sys
->
p_
conn
=
dbus_bus_get
(
DBUS_BUS_SESSION
,
&
error
);
if
(
!
p_conn
)
if
(
!
p_
intf
->
p_sys
->
p_
conn
)
{
{
msg_Err
(
p_this
,
"Failed to connect to the DBus session daemon: %s"
,
msg_Err
(
p_this
,
"Failed to connect to the DBus session daemon: %s"
,
error
.
message
);
error
.
message
);
...
@@ -112,7 +111,6 @@ static int Open( vlc_object_t *p_this )
...
@@ -112,7 +111,6 @@ static int Open( vlc_object_t *p_this )
free
(
p_intf
->
p_sys
);
free
(
p_intf
->
p_sys
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
p_intf
->
p_sys
->
p_conn
=
p_conn
;
p_intf
->
p_sys
->
psz_format
=
config_GetPsz
(
p_intf
,
"telepathy-format"
);
p_intf
->
p_sys
->
psz_format
=
config_GetPsz
(
p_intf
,
"telepathy-format"
);
if
(
!
p_intf
->
p_sys
->
psz_format
)
if
(
!
p_intf
->
p_sys
->
psz_format
)
...
...
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