summaryrefslogtreecommitdiff
path: root/common/gmountoperationdbus.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 11:25:22 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 11:25:22 +0000
commit5950303721316b204dd2e98323e3696dcc59c328 (patch)
treece73c959fb6333c1d3338acf81476e39ac2cf6a5 /common/gmountoperationdbus.c
parentc2ac1371f79239aaf8973b9a1f7847e4b09f0c25 (diff)
downloadgvfs-5950303721316b204dd2e98323e3696dcc59c328.tar.gz
Unregister dbus object path at finalize
Original git commit by Alexander Larsson <alex@greebo.(none)> at 1170343871 +0100 svn path=/trunk/; revision=295
Diffstat (limited to 'common/gmountoperationdbus.c')
-rw-r--r--common/gmountoperationdbus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/gmountoperationdbus.c b/common/gmountoperationdbus.c
index f74c29cd..fd968993 100644
--- a/common/gmountoperationdbus.c
+++ b/common/gmountoperationdbus.c
@@ -29,6 +29,8 @@ g_mount_operation_dbus_finalize (GObject *object)
operation = G_MOUNT_OPERATION_DBUS (object);
+ dbus_connection_unregister_object_path (operation->connection,
+ operation->obj_path);
g_free (operation->obj_path);
dbus_connection_unref (operation->connection);