aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/serializablemenuitem.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-03 13:48:56 -0600
committerTed Gould <ted@gould.cx>2011-03-03 13:48:56 -0600
commitdf8c5e53a6fddcd80e2ea52174f9242c2c17eba4 (patch)
tree26fe9c9337b8c8eead223035698ce164da8c5ac6 /libdbusmenu-gtk/serializablemenuitem.c
parentbf0ec7cdc8c37f4ec7668f18b0be10942564957b (diff)
parenta66d4b41bfd368a4ac3c25be748cf64203147007 (diff)
downloadlibdbusmenu-df8c5e53a6fddcd80e2ea52174f9242c2c17eba4.tar.gz
libdbusmenu-df8c5e53a6fddcd80e2ea52174f9242c2c17eba4.tar.bz2
libdbusmenu-df8c5e53a6fddcd80e2ea52174f9242c2c17eba4.zip
* New upstream release.
* GTK application menus are not correctly displayed (LP: #726678) * Fix LP: #723873 - ensure that changing a menuitem property to a default value gets propagated properly in the client * Fix some crashes by disconnecting more signals when a menuitem is deleted. LP: #725980 and LP: #726153 * Making sure to grab the variant and dispose of it in handle_event. * Change the destroy prototype to fix GIR warnings * Fix emitting property changes to use tuples * Track the icon theme directories * Handle cases where passed in property names could be in the properties hash table * Making property names match DBus protocol recommendations * Restricting GIR scanner to exported interfaces * Use the library i18n libraries instead of the app ones * Make GetLayout use the parent parameter
Diffstat (limited to 'libdbusmenu-gtk/serializablemenuitem.c')
-rw-r--r--libdbusmenu-gtk/serializablemenuitem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-gtk/serializablemenuitem.c b/libdbusmenu-gtk/serializablemenuitem.c
index 29f83a8..b560fe3 100644
--- a/libdbusmenu-gtk/serializablemenuitem.c
+++ b/libdbusmenu-gtk/serializablemenuitem.c
@@ -215,7 +215,7 @@ type_handler (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuCli
/* Destruction is inevitable */
static void
-type_destroy_handler (DbusmenuClient * client, const gchar * type, gpointer user_data)
+type_destroy_handler (gpointer user_data)
{
g_return_if_fail(user_data != NULL);
type_handler_t * th = (type_handler_t *)user_data;
@@ -255,7 +255,7 @@ dbusmenu_gtk_serializable_menu_item_register_to_client (DbusmenuClient * client,
th->class = class;
th->type = item_type;
if (!dbusmenu_client_add_type_handler_full(client, class->get_type_string(), type_handler, th, type_destroy_handler)) {
- type_destroy_handler(client, class->get_type_string(), th);
+ type_destroy_handler(th);
}
/* Register defaults */