gnome-applets r11201 - in branches/gnome-2-24/cpufreq: . src



Author: callum
Date: Thu Jan 15 00:30:56 2009
New Revision: 11201
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11201&view=rev

Log:
Add code accidentally removed in the 2.25 backport.

Modified:
   branches/gnome-2-24/cpufreq/ChangeLog
   branches/gnome-2-24/cpufreq/src/cpufreq-applet.c

Modified: branches/gnome-2-24/cpufreq/src/cpufreq-applet.c
==============================================================================
--- branches/gnome-2-24/cpufreq/src/cpufreq-applet.c	(original)
+++ branches/gnome-2-24/cpufreq/src/cpufreq-applet.c	Thu Jan 15 00:30:56 2009
@@ -874,6 +874,10 @@
         total_size += pixmap_size;
 
         if (applet->box) {
+	        do_unref = TRUE;
+                g_object_ref (applet->icon);
+                gtk_container_remove (GTK_CONTAINER (applet->box), applet->icon);
+
 	        if (applet->labels_box) {
                         g_object_ref (applet->label);
                         gtk_container_remove (GTK_CONTAINER (applet->labels_box), applet->label);



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