diff options
author | Bastien Nocera <hadess@hadess.net> | 2010-11-17 02:15:25 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2010-11-17 02:15:25 +0000 |
commit | 9501c9f7669a0be5d6ebad7476b9f6822e3a5b7b (patch) | |
tree | edf08af50fbb3a5c1b30bd9fb14f00970b3649b1 /gnome-settings-daemon | |
parent | 0d6b1638a73498480bee72e44841e3d9e87a8091 (diff) | |
download | gnome-settings-daemon-9501c9f7669a0be5d6ebad7476b9f6822e3a5b7b.tar.gz |
daemon: Don't forget to unown the D-Bus name
Cleaner.
Diffstat (limited to 'gnome-settings-daemon')
-rw-r--r-- | gnome-settings-daemon/gnome-settings-manager.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnome-settings-daemon/gnome-settings-manager.c b/gnome-settings-daemon/gnome-settings-manager.c index 1e3ce319..13b69a82 100644 --- a/gnome-settings-daemon/gnome-settings-manager.c +++ b/gnome-settings-daemon/gnome-settings-manager.c @@ -446,6 +446,11 @@ gnome_settings_manager_stop (GnomeSettingsManager *manager) _unload_all (manager); + if (manager->priv->owner_id > 0) { + g_bus_unown_name (manager->priv->owner_id); + manager->priv->owner_id = 0; + } + g_object_unref (manager->priv->settings); manager->priv->settings = NULL; } |