gnome-power-manager r3386 - in trunk: . src



Author: rhughes
Date: Mon Apr  6 08:52:24 2009
New Revision: 3386
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3386&view=rev

Log:
2009-04-06  Richard Hughes  <richard hughsie com>

* src/gpm-tray-icon.c: (gpm_tray_icon_popup_cleared_cd):
Unref the popup window when it's cleared.
Fixes #577901


Modified:
   trunk/ChangeLog
   trunk/src/gpm-tray-icon.c

Modified: trunk/src/gpm-tray-icon.c
==============================================================================
--- trunk/src/gpm-tray-icon.c	(original)
+++ trunk/src/gpm-tray-icon.c	Mon Apr  6 08:52:24 2009
@@ -355,7 +355,8 @@
 gpm_tray_icon_popup_cleared_cd (GtkWidget *widget, GpmTrayIcon *icon)
 {
 	g_return_if_fail (GPM_IS_TRAY_ICON (icon));
-	egg_debug ("clear tray (icon = %p)", icon);
+	egg_debug ("clear tray");
+	g_object_unref (widget);
 }
 
 /**



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