diff options
author | Callum McKenzie <callum@src.gnome.org> | 2009-01-15 00:30:56 +0000 |
---|---|---|
committer | Callum McKenzie <callum@src.gnome.org> | 2009-01-15 00:30:56 +0000 |
commit | 92caee907bc4cd570c7cc2041ac566589cefb3e5 (patch) | |
tree | 4a02433e8d04ca2e276ef54b01475030c98a3944 | |
parent | 3b791290ee1270c25cf52279e13721b0285c1f45 (diff) |
Add code accidentally removed in the 2.25 backport.
svn path=/branches/gnome-2-24/; revision=11201
-rw-r--r-- | cpufreq/ChangeLog | 5 | ||||
-rw-r--r-- | cpufreq/src/cpufreq-applet.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/cpufreq/ChangeLog b/cpufreq/ChangeLog index f9969af1c..a5ddd3207 100644 --- a/cpufreq/ChangeLog +++ b/cpufreq/ChangeLog @@ -1,3 +1,8 @@ +2009-01-15 Callum McKenzie <callum@spooky-possum.org> + + * src/cpufreq-applet.c (cpufreq_applet_update): Replace code + accidentally deleted in the 2.25 backport. + ==================== 2.24.3 ====================== 2009-01-13 Callum McKenzie <callum@spooky-possum.org> diff --git a/cpufreq/src/cpufreq-applet.c b/cpufreq/src/cpufreq-applet.c index 83d382568..1d788d777 100644 --- a/cpufreq/src/cpufreq-applet.c +++ b/cpufreq/src/cpufreq-applet.c @@ -874,6 +874,10 @@ cpufreq_applet_refresh (CPUFreqApplet *applet) 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); |