[gnome-panel] panel: Fix obvious error (unref on wrong objects)
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-panel] panel: Fix obvious error (unref on wrong objects)
- Date: Tue, 22 Feb 2011 22:33:34 +0000 (UTC)
commit 61da7b013935b3297914b00206b22c0cd850a89c
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Feb 22 23:21:06 2011 +0100
    panel: Fix obvious error (unref on wrong objects)
 gnome-panel/applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-panel/applet.c b/gnome-panel/applet.c
index 8cb3bde..1a307c2 100644
--- a/gnome-panel/applet.c
+++ b/gnome-panel/applet.c
@@ -878,7 +878,7 @@ panel_applet_destroy (GtkWidget  *widget,
 						      G_CALLBACK (applet_menu_show), info);
                 g_signal_handlers_disconnect_by_func (info->edit_menu,
 						      G_CALLBACK (applet_menu_deactivate), info);
-		g_object_unref (info->menu);
+		g_object_unref (info->edit_menu);
         }
 	info->edit_menu = NULL;
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]