aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-04 09:02:34 -0500
committerTed Gould <ted@canonical.com>2009-09-04 09:02:34 -0500
commita04a5e11668a7068f1307b28911df1097ab983cf (patch)
tree16028144fa8f3bddb4a176ed093fc093ecabd654
parent51e1ef970beb33b529fe339abcfafa1ff99c8a83 (diff)
downloadayatana-indicator-messages-a04a5e11668a7068f1307b28911df1097ab983cf.tar.gz
ayatana-indicator-messages-a04a5e11668a7068f1307b28911df1097ab983cf.tar.bz2
ayatana-indicator-messages-a04a5e11668a7068f1307b28911df1097ab983cf.zip
A variable and a prototype. Such is life.
-rw-r--r--src/im-menu-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/im-menu-item.c b/src/im-menu-item.c
index 0b8ef8f..6f58ebd 100644
--- a/src/im-menu-item.c
+++ b/src/im-menu-item.c
@@ -74,7 +74,7 @@ static void icon_cb (IndicateListener * listener,
IndicateListenerServer * server,
IndicateListenerIndicator * indicator,
gchar * property,
- GdkPixbuf * propertydata,
+ gchar * propertydata,
gpointer data);
static void activate_cb (ImMenuItem * self,
gpointer data);
@@ -150,7 +150,7 @@ im_menu_item_finalize (GObject *object)
static void
icon_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, gchar * propertydata, gpointer data)
{
- dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(self), DBUSMENU_MENUITEM_PROP_ICON_DATA, propertydata);
+ dbusmenu_menuitem_property_set(DBUSMENU_MENUITEM(data), DBUSMENU_MENUITEM_PROP_ICON_DATA, propertydata);
return;
}