aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-08 20:20:45 -0500
committerTed Gould <ted@canonical.com>2009-09-08 20:20:45 -0500
commit5613a2924e2cfd15ff8d441ed7c968f70a22730c (patch)
tree25449f95418179248593e765a56e3b64090cb7a0
parentc16260bbe714ef79c48e40a27b84eaf92b8253d6 (diff)
downloadayatana-indicator-messages-5613a2924e2cfd15ff8d441ed7c968f70a22730c.tar.gz
ayatana-indicator-messages-5613a2924e2cfd15ff8d441ed7c968f70a22730c.tar.bz2
ayatana-indicator-messages-5613a2924e2cfd15ff8d441ed7c968f70a22730c.zip
Bother.
-rw-r--r--src/indicator-messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 3dbc217..a3f22aa 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -162,7 +162,7 @@ indicator_prop_change_cb (DbusmenuMenuitem * mi, gchar * prop, gchar * value, in
/* We don't use the value here, which is probably less efficient,
but it's easier to use the easy function. And since th value
is already cached, shouldn't be a big deal really. */
- GdkPixbuf * pixbuf = dbusmenu_menuitem_property_get_image(newitem, INDICATOR_MENUITEM_PROP_ICON);
+ GdkPixbuf * pixbuf = dbusmenu_menuitem_property_get_image(mi, INDICATOR_MENUITEM_PROP_ICON);
if (pixbuf != NULL) {
gtk_image_set_from_pixbuf(GTK_IMAGE(mi_data->icon), pixbuf);
}