aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-27 16:13:59 -0500
committerTed Gould <ted@gould.cx>2010-08-27 16:13:59 -0500
commit0b3dc82b5f2885d7ef3dca837f7fa02b0e73012b (patch)
treeca92491c8e46a380380962231601aca7f005dc86 /libdbusmenu-glib
parent2f8fef94c6491d501b735aec916055054d5c6d83 (diff)
downloadlibdbusmenu-0b3dc82b5f2885d7ef3dca837f7fa02b0e73012b.tar.gz
libdbusmenu-0b3dc82b5f2885d7ef3dca837f7fa02b0e73012b.tar.bz2
libdbusmenu-0b3dc82b5f2885d7ef3dca837f7fa02b0e73012b.zip
Fixing the parameter type
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index 7051e96..3f06618 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -1059,10 +1059,10 @@ menuitem_call_cb (DBusGProxy * proxy, GError * error, gpointer userdata)
event_data_t * edata = (event_data_t *)userdata;
if (error != NULL) {
- g_warning("Unable to call menu item %d: %s", GPOINTER_TO_INT(userdata), error->message);
+ g_warning("Unable to call event '%s' on menu item %d: %s", edata->event, dbusmenu_menuitem_get_id(edata->menuitem), error->message);
}
- g_signal_emit(edata->client, signals[EVENT_RESULT], 0, edata->menuitem, edata->event, edata->data, edata->timestamp, error, TRUE);
+ g_signal_emit(edata->client, signals[EVENT_RESULT], 0, edata->menuitem, edata->event, &edata->data, edata->timestamp, error, TRUE);
g_value_unset(&edata->data);
g_free(edata->event);