diff src/audacious/main.c @ 2711:c35913222440 trunk

[svn] Initial commit of dbus client library for plugins. Various changes were made to the plugin structure to support dbus.
author magma
date Wed, 09 May 2007 14:36:37 -0700
parents 47ea8eedd428
children 6884a2144a01
line wrap: on
line diff
--- a/src/audacious/main.c	Wed May 09 14:35:33 2007 -0700
+++ b/src/audacious/main.c	Wed May 09 14:36:37 2007 -0700
@@ -50,7 +50,7 @@
 #include "vfs.h"
 
 #ifdef USE_DBUS
-#  include "dbus.h"
+#  include "dbus-service.h"
 #endif
 
 #include "dnd.h"
@@ -1252,6 +1252,10 @@
 
         GDK_THREADS_LEAVE();
 
+#ifdef USE_DBUS
+        free_dbus();
+#endif
+
         g_cond_free(cond_scan);
         g_mutex_free(mutex_scan);
 
@@ -1271,6 +1275,10 @@
         g_timeout_add(10, aud_headless_iteration, NULL);
         g_main_loop_run(loop);
 
+#ifdef USE_DBUS
+        free_dbus();
+#endif
+
         return EXIT_SUCCESS;
     }
 }