[nautilus] freedesktop-dbus: don't use an object manager
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] freedesktop-dbus: don't use an object manager
- Date: Wed, 30 Apr 2014 09:24:57 +0000 (UTC)
commit d4dfb1019d30de85280769121a47aff15037e432
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Apr 28 22:40:59 2014 -0700
freedesktop-dbus: don't use an object manager
We don't need to.
src/nautilus-freedesktop-dbus.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/nautilus-freedesktop-dbus.c b/src/nautilus-freedesktop-dbus.c
index ed8e261..5b72fcb 100644
--- a/src/nautilus-freedesktop-dbus.c
+++ b/src/nautilus-freedesktop-dbus.c
@@ -38,9 +38,6 @@ struct _NautilusFreedesktopDBus {
/* Id from g_dbus_own_name() */
guint owner_id;
- /* DBus paraphernalia */
- GDBusObjectManagerServer *object_manager;
-
/* Our DBus implementation skeleton */
NautilusFreedesktopFileManager1 *skeleton;
};
@@ -145,8 +142,6 @@ bus_acquired_cb (GDBusConnection *conn,
DEBUG ("Bus acquired at %s", name);
- fdb->object_manager = g_dbus_object_manager_server_new (NAUTILUS_FDO_DBUS_PATH);
-
fdb->skeleton = nautilus_freedesktop_file_manager1_skeleton_new ();
g_signal_connect (fdb->skeleton, "handle-show-items",
@@ -157,8 +152,6 @@ bus_acquired_cb (GDBusConnection *conn,
G_CALLBACK (skeleton_handle_show_item_properties_cb), fdb);
g_dbus_interface_skeleton_export (G_DBUS_INTERFACE_SKELETON (fdb->skeleton), conn,
NAUTILUS_FDO_DBUS_PATH, NULL);
-
- g_dbus_object_manager_server_set_connection (fdb->object_manager, conn);
}
static void
@@ -193,8 +186,6 @@ nautilus_freedesktop_dbus_dispose (GObject *object)
fdb->skeleton = NULL;
}
- g_clear_object (&fdb->object_manager);
-
G_OBJECT_CLASS (nautilus_freedesktop_dbus_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]