diff src/audacious/dbus.c @ 2700:2d1837805ca4 trunk

[svn] Improved DBus initialization and fixed a warning.
author magma
date Sat, 05 May 2007 16:50:36 -0700
parents c00850315ce1
children 89155edffa31
line wrap: on
line diff
--- 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