ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #03198
[Branch ~dbusmenu-team/dbusmenu/trunk] Rev 233: Fixing signal emition to use the saved value instead of the enum
------------------------------------------------------------
revno: 233
committer: Ted Gould <ted@xxxxxxxx>
branch nick: trunk
timestamp: Thu 2011-02-24 10:35:55 -0600
message:
Fixing signal emition to use the saved value instead of the enum
modified:
libdbusmenu-glib/menuitem.c
--
lp:dbusmenu
https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk
Your team ayatana-commits is subscribed to branch lp:dbusmenu.
To unsubscribe from this branch go to https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk/+edit-subscription
=== modified file 'libdbusmenu-glib/menuitem.c'
--- libdbusmenu-glib/menuitem.c 2011-02-24 16:33:40 +0000
+++ libdbusmenu-glib/menuitem.c 2011-02-24 16:35:55 +0000
@@ -1671,7 +1671,7 @@
DbusmenuMenuitemClass * class = DBUSMENU_MENUITEM_GET_CLASS(mi);
gboolean handled = FALSE;
- g_signal_emit(G_OBJECT(mi), EVENT, g_quark_from_string(name), name, variant, timestamp, &handled);
+ g_signal_emit(G_OBJECT(mi), signals[EVENT], g_quark_from_string(name), name, variant, timestamp, &handled);
if (!handled && class->handle_event != NULL) {
return class->handle_event(mi, name, variant, timestamp);