[nautilus] toolbar: disconnect the GSettings callback on dispose
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] toolbar: disconnect the GSettings callback on dispose
- Date: Fri, 3 Jun 2011 21:42:19 +0000 (UTC)
commit a0d9614d204d0494d329e04c1d7652e451c2573f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Jun 3 17:38:30 2011 -0400
toolbar: disconnect the GSettings callback on dispose
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 59824b7..305dbf6 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]