[nautilus] toolbar: don't unref the GtkUIManager
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] toolbar: don't unref the GtkUIManager
- Date: Sat, 7 Jul 2012 20:59:58 +0000 (UTC)
commit dc34668f1f5e92236b74b1090ce69f4918178e93
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Jul 7 16:59:16 2012 -0400
toolbar: don't unref the GtkUIManager
Since we don't own any references to it.
src/nautilus-toolbar.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index 75c8cbe..c0a45df 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -273,9 +273,7 @@ nautilus_toolbar_dispose (GObject *obj)
{
NautilusToolbar *self = NAUTILUS_TOOLBAR (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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]