[gnome-bluetooth] lib: Port test-client to GDBus



commit 9076446d5396cc92694a1455ba65f2bf84ed0895
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 5 18:34:56 2011 +0100

    lib: Port test-client to GDBus

 lib/test-client.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/test-client.c b/lib/test-client.c
index df45af4..0741a5d 100644
--- a/lib/test-client.c
+++ b/lib/test-client.c
@@ -74,7 +74,7 @@ static void row_inserted(GtkTreeModel *model, GtkTreePath *path,
 static void proxy_to_text(GtkTreeViewColumn *column, GtkCellRenderer *cell,
 		GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
 {
-	DBusGProxy *proxy;
+	GDBusProxy *proxy;
 	gchar *path;
 
 	gtk_tree_model_get(model, iter, BLUETOOTH_COLUMN_PROXY, &proxy, -1);
@@ -84,7 +84,7 @@ static void proxy_to_text(GtkTreeViewColumn *column, GtkCellRenderer *cell,
 		return;
 	}
 
-	path = g_path_get_basename(dbus_g_proxy_get_path(proxy));
+	path = g_path_get_basename(g_dbus_proxy_get_object_path(proxy));
 
 	g_object_set(cell, "text", path, NULL);
 



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