aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-09-03 13:13:16 -0500
committerTed Gould <ted@gould.cx>2010-09-03 13:13:16 -0500
commitfe64f4657213dcd733f28571b8b95a06454adc76 (patch)
tree03ae1a1e0203b1e167cc32f5baba797b52657d50
parent9a1fe3fafbdaabd0fbcaed2e80b285ca48bf53b1 (diff)
downloadayatana-indicator-messages-fe64f4657213dcd733f28571b8b95a06454adc76.tar.gz
ayatana-indicator-messages-fe64f4657213dcd733f28571b8b95a06454adc76.tar.bz2
ayatana-indicator-messages-fe64f4657213dcd733f28571b8b95a06454adc76.zip
Making sure to put the dbusmenu item in the callback
-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;
}