diff options
author | Ted Gould <ted@gould.cx> | 2011-02-24 10:35:55 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-02-24 10:35:55 -0600 |
commit | 0e833536055614008cd6f75734d2c2a8c1e646bf (patch) | |
tree | 3b8237fc4d9ed563a6ef6becc866c4689ffeeeee /libdbusmenu-glib | |
parent | 409fd25a05c9bae08330fcd0a0c1a4fb00835073 (diff) | |
download | libdbusmenu-0e833536055614008cd6f75734d2c2a8c1e646bf.tar.gz libdbusmenu-0e833536055614008cd6f75734d2c2a8c1e646bf.tar.bz2 libdbusmenu-0e833536055614008cd6f75734d2c2a8c1e646bf.zip |
Fixing signal emition to use the saved value instead of the enum
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/menuitem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-glib/menuitem.c b/libdbusmenu-glib/menuitem.c index 3dd98df..fb138b6 100644 --- a/libdbusmenu-glib/menuitem.c +++ b/libdbusmenu-glib/menuitem.c @@ -1671,7 +1671,7 @@ dbusmenu_menuitem_handle_event (DbusmenuMenuitem * mi, const gchar * name, GVari 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); |