changeset 2700:2d1837805ca4 trunk

[svn] Improved DBus initialization and fixed a warning.
author magma
date Sat, 05 May 2007 16:50:36 -0700
parents dbeef899d16a
children 906caaf4737d
files ChangeLog src/audacious/build_stamp.c src/audacious/dbus.c src/audacious/dbus.h src/audacious/main.c
diffstat 5 files changed, 13 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat May 05 16:37:04 2007 -0700
+++ b/ChangeLog	Sat May 05 16:50:36 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-05 23:37:04 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [4424]
+  - update manpage for autoconf 2.60
+  
+  trunk/man/audacious.1.in |    4 ++--
+  1 file changed, 2 insertions(+), 2 deletions(-)
+
+
 2007-05-05 23:28:41 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4422]
   - i forgot a !
--- a/src/audacious/build_stamp.c	Sat May 05 16:37:04 2007 -0700
+++ b/src/audacious/build_stamp.c	Sat May 05 16:50:36 2007 -0700
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070505-4422";
+const gchar *svn_stamp = "20070505-4424";
--- a/src/audacious/dbus.c	Sat May 05 16:37:04 2007 -0700
+++ b/src/audacious/dbus.c	Sat May 05 16:50:36 2007 -0700
@@ -78,11 +78,9 @@
     g_object_unref(driver_proxy);
 }
 
-RemoteObject *init_dbus() {
-    RemoteObject *object;
+void init_dbus() {
     g_type_init();
-    object = g_object_new(audacious_remote_get_type(), NULL);
-    return object;
+    g_object_new(audacious_remote_get_type(), NULL);
 }
 
 // Audacious General Information
--- a/src/audacious/dbus.h	Sat May 05 16:37:04 2007 -0700
+++ b/src/audacious/dbus.h	Sat May 05 16:50:36 2007 -0700
@@ -37,7 +37,7 @@
     GObjectClass parent_class;
 } RemoteObjectClass;
 
-RemoteObject *init_dbus();
+void init_dbus();
 
 // Audacious General Information
 gboolean audacious_remote_version(RemoteObject *obj, gchar **version,
--- a/src/audacious/main.c	Sat May 05 16:37:04 2007 -0700
+++ b/src/audacious/main.c	Sat May 05 16:50:36 2007 -0700
@@ -1189,7 +1189,7 @@
         GDK_THREADS_LEAVE();
 
 #ifdef USE_DBUS
-    RemoteObject *object = init_dbus();
+    init_dbus();
 #endif
 
     ctrlsocket_start();