summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-08-29 01:05:00 +0000
committerHavoc Pennington <hp@redhat.com>2003-08-29 01:05:00 +0000
commit8d38a2e2c5dc95de992c4d856ec1b0c0948bca3e (patch)
tree6df0de00f2b7d8da4623c2d31932d45deb39ca93 /glib
parent24f411a6a10e4838f57595720642ce83ceae814c (diff)
2003-08-28 Havoc Pennington <hp@pobox.com>
purge DBusObjectID * dbus/dbus-connection.c: port to no ObjectID, create a DBusObjectTree, rename ObjectTree to ObjectPath in public API * dbus/dbus-connection.h (struct DBusObjectTreeVTable): delete everything except UnregisterFunction and MessageFunction * dbus/dbus-marshal.c: port away from DBusObjectID, add DBUS_TYPE_OBJECT_PATH * dbus/dbus-object-registry.[hc], dbus/dbus-object.[hc], dbus/dbus-objectid.[hc]: remove these, we are moving to path-based object IDs
Diffstat (limited to 'glib')
-rw-r--r--glib/dbus-gproxy.c4
-rw-r--r--glib/dbus-gproxy.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/glib/dbus-gproxy.c b/glib/dbus-gproxy.c
index 36f9724c..01a6b4b9 100644
--- a/glib/dbus-gproxy.c
+++ b/glib/dbus-gproxy.c
@@ -35,7 +35,7 @@ struct DBusGProxy
DBusConnection *connection;
char *service;
char *interface;
- DBusObjectID object_id;
+ char *path;
};
#define LOCK_PROXY(proxy) (g_static_mutex_lock (&(proxy)->lock))
@@ -248,7 +248,7 @@ dbus_gproxy_send (DBusGProxy *proxy,
{
/* FIXME */
}
- if (!dbus_object_id_is_null (&proxy->object_id))
+ if (proxy->path)
{
/* FIXME */
}
diff --git a/glib/dbus-gproxy.h b/glib/dbus-gproxy.h
index f40ce8a0..4e8f3f60 100644
--- a/glib/dbus-gproxy.h
+++ b/glib/dbus-gproxy.h
@@ -42,8 +42,8 @@ DBusGProxy* dbus_gproxy_new_for_service_owner (DBusConnection *connect
const char *service_name,
const char *interface_name,
GError **error);
-DBusGProxy* dbus_gproxy_new_for_object_id (DBusConnection *connection,
- const DBusObjectID *object_id,
+DBusGProxy* dbus_gproxy_new_for_object_path (DBusConnection *connection,
+ const char *path,
const char *interface_name);
DBusGProxy* dbus_gproxy_new_for_interface (DBusConnection *connection,
const char *interface_name);