aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-messages.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-09-03 14:03:47 -0500
committerTed Gould <ted@gould.cx>2010-09-03 14:03:47 -0500
commit9522939474e8e6b19b1af712d1507ed3b9200b22 (patch)
tree03ae1a1e0203b1e167cc32f5baba797b52657d50 /src/indicator-messages.c
parent9a1fe3fafbdaabd0fbcaed2e80b285ca48bf53b1 (diff)
parentfe64f4657213dcd733f28571b8b95a06454adc76 (diff)
downloadayatana-indicator-messages-9522939474e8e6b19b1af712d1507ed3b9200b22.tar.gz
ayatana-indicator-messages-9522939474e8e6b19b1af712d1507ed3b9200b22.tar.bz2
ayatana-indicator-messages-9522939474e8e6b19b1af712d1507ed3b9200b22.zip
Pass the dbusmenu menuitem to the expose callback.
Diffstat (limited to 'src/indicator-messages.c')
-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 302b9e5..b29edce 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -453,7 +453,7 @@ new_application_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, Dbu
/* Make sure we can handle the label changing */
g_signal_connect(G_OBJECT(newitem), DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED, G_CALLBACK(application_prop_change_cb), label);
g_signal_connect(G_OBJECT(newitem), DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED, G_CALLBACK(application_icon_change_cb), icon);
- g_signal_connect_after(G_OBJECT (gmi), "expose_event", G_CALLBACK (application_triangle_draw_cb), NULL);
+ g_signal_connect_after(G_OBJECT (gmi), "expose_event", G_CALLBACK (application_triangle_draw_cb), newitem);
return TRUE;
}