diff options
author | Ted Gould <ted@gould.cx> | 2011-04-12 21:59:57 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-04-12 21:59:57 -0500 |
commit | 418154c793a62115eff24209d8fd8cc841d860b8 (patch) | |
tree | 9f128c6c827cdd495f8800b9d774b7595d3bd35d /libdbusmenu-glib/client.c | |
parent | 7036d1a97f6783b8d57243e76d5efa3126d88ec6 (diff) | |
parent | c8dd7726fb7f906de80ce0790662f568a24f963c (diff) | |
download | libdbusmenu-418154c793a62115eff24209d8fd8cc841d860b8.tar.gz libdbusmenu-418154c793a62115eff24209d8fd8cc841d860b8.tar.bz2 libdbusmenu-418154c793a62115eff24209d8fd8cc841d860b8.zip |
Changing the cleanup of GTK Menuitems to avoid undefined references.
Diffstat (limited to 'libdbusmenu-glib/client.c')
-rw-r--r-- | libdbusmenu-glib/client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index 45cf0d1..2e6b09a 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -1516,14 +1516,13 @@ menuitem_call_cb (GObject * proxy, GAsyncResult * res, gpointer userdata) /* Sends the event over DBus to the server on the other side of the bus. */ void -dbusmenu_client_send_event (DbusmenuClient * client, gint id, const gchar * name, GVariant * variant, guint timestamp) +dbusmenu_client_send_event (DbusmenuClient * client, gint id, const gchar * name, GVariant * variant, guint timestamp, DbusmenuMenuitem * mi) { g_return_if_fail(DBUSMENU_IS_CLIENT(client)); g_return_if_fail(id >= 0); g_return_if_fail(name != NULL); DbusmenuClientPrivate * priv = DBUSMENU_CLIENT_GET_PRIVATE(client); - DbusmenuMenuitem * mi = dbusmenu_menuitem_find_id(priv->root, id); if (mi == NULL) { g_warning("Asked to activate a menuitem %d that we don't know about", id); return; |