[gnome-bluetooth] lib: Remove dbus-glib calls in test-plugins



commit 8a0341102c7baf2946d1789a473a520c584ef96e
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Oct 6 11:10:14 2011 +0100

    lib: Remove dbus-glib calls in test-plugins

 lib/test-plugins.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/lib/test-plugins.c b/lib/test-plugins.c
index 7e04f74..88839a9 100644
--- a/lib/test-plugins.c
+++ b/lib/test-plugins.c
@@ -1,5 +1,4 @@
 #include <gtk/gtk.h>
-#include <dbus/dbus-glib.h>
 #include "bluetooth-plugin-manager.h"
 
 static gchar *bdaddr = NULL;
@@ -29,7 +28,6 @@ int main (int argc, char **argv)
 {
 	GtkWidget *window, *vbox;
 	GList *list, *l;
-	DBusGConnection *bus;
 	GError *error = NULL;
 
 	if (gtk_init_with_args (&argc, &argv, NULL,
@@ -76,10 +74,6 @@ int main (int argc, char **argv)
 		return 0;
 	}
 
-	/* Init the dbus-glib types */
-	bus = dbus_g_bus_get (DBUS_BUS_SESSION, NULL);
-	dbus_g_connection_unref (bus);
-
 	bluetooth_plugin_manager_init ();
 
 	window = gtk_window_new (GTK_WINDOW_TOPLEVEL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]