diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2011-06-03 17:38:30 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2011-06-03 17:42:09 -0400 |
commit | a0d9614d204d0494d329e04c1d7652e451c2573f (patch) | |
tree | d859af08091acc6226333e91f1e65cdac63feecf | |
parent | b62ab1413cca6694b9b09fc9d241bbf3581a56e6 (diff) | |
download | nautilus-a0d9614d204d0494d329e04c1d7652e451c2573f.tar.gz |
toolbar: disconnect the GSettings callback on dispose
-rw-r--r-- | src/nautilus-toolbar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c index 59824b711..305dbf683 100644 --- a/src/nautilus-toolbar.c +++ b/src/nautilus-toolbar.c @@ -210,6 +210,9 @@ nautilus_toolbar_dispose (GObject *obj) g_clear_object (&self->priv->ui_manager); g_clear_object (&self->priv->action_group); + g_signal_handlers_disconnect_by_func (nautilus_preferences, + toolbar_update_appearance, self); + G_OBJECT_CLASS (nautilus_toolbar_parent_class)->dispose (obj); } |