[gnome-bluetooth] applet: Port to GDBus



commit 233959edcd8416ccb5094a32564f090e1449486b
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Sep 28 14:46:38 2011 +0100

    applet: Port to GDBus
    
    As the last part that required dbus-glib, and which didn't actually
    work either :)

 applet/bluetooth-applet.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/applet/bluetooth-applet.c b/applet/bluetooth-applet.c
index f5ac5ec..e193612 100644
--- a/applet/bluetooth-applet.c
+++ b/applet/bluetooth-applet.c
@@ -75,7 +75,7 @@ struct _BluetoothApplet
 	gulong signal_row_added;
 	gulong signal_row_changed;
 	gulong signal_row_deleted;
-	DBusGProxy* default_adapter;
+	GDBusProxy* default_adapter;
 	BluetoothAgent* agent;
 	GHashTable* pending_requests;
 
@@ -486,7 +486,7 @@ default_adapter_changed (GObject    *client,
 
 	if (self->default_adapter)
 		g_object_unref (self->default_adapter);
-	self->default_adapter = bluetooth_client_get_default_adapter (self->client);
+	self->default_adapter = bluetooth_client_get_default_adapter_gdbus (self->client);
 
 	if (self->device_model) {
 		g_signal_handler_disconnect (self->device_model, self->signal_row_added);



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