[nautilus] trash-bar: fix double disconnect handler



commit 3d278607782dffa724d91680f4278273583e3962
Author: Pavel Vasin <rat4vier gmail com>
Date:   Tue Jan 1 15:53:26 2013 +0400

    trash-bar: fix double disconnect handler
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691004

 src/nautilus-trash-bar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-trash-bar.c b/src/nautilus-trash-bar.c
index 753de57..c41f48b 100644
--- a/src/nautilus-trash-bar.c
+++ b/src/nautilus-trash-bar.c
@@ -107,6 +107,7 @@ nautilus_trash_bar_dispose (GObject *obj)
 
 	if (bar->priv->selection_handler_id) {
 		g_signal_handler_disconnect (bar->priv->view, bar->priv->selection_handler_id);
+		bar->priv->selection_handler_id = 0;
 	}
 
 	G_OBJECT_CLASS (nautilus_trash_bar_parent_class)->dispose (obj);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]