summaryrefslogtreecommitdiff
path: root/mixer
diff options
context:
space:
mode:
authorCallum McKenzie <callum@spooky-possum.org>2010-06-14 19:30:26 +1200
committerCallum McKenzie <callum@spooky-possum.org>2010-06-14 19:30:26 +1200
commit4bc831b13992342871984d68c048ce26b5b077d3 (patch)
tree097ab35baf19d844c07b8575e845891f3f364064 /mixer
parent2d369bbd7a21d2054078ead3ffdc07bf0d3a0af0 (diff)
Add a comment to explain the apparently unecessary change made at the last commit
Diffstat (limited to 'mixer')
-rw-r--r--mixer/applet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mixer/applet.c b/mixer/applet.c
index ac60d1704..915376fb3 100644
--- a/mixer/applet.c
+++ b/mixer/applet.c
@@ -127,7 +127,8 @@ init_pixbufs (GnomeVolumeApplet *applet)
for (n = 0; pix_filenames[n] != NULL; n++) {
if (applet->pix[n]) {
g_object_unref (applet->pix[n]);
- applet->pix[n] = NULL;
+ applet->pix[n] = NULL; // gnome_icon_theme_load_icon can call us
+ // recursively, so we have to be careful.
}
applet->pix[n] = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),