aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-10 10:22:34 -0600
committerTed Gould <ted@gould.cx>2012-02-10 10:22:34 -0600
commitc0f0a8f2cc4adf48ea56ea0296037c00fe6c2c5c (patch)
tree53d9861cf1724079dece9e723816b39649df5182 /libdbusmenu-gtk
parent7174e85c2dd89f6b3ae2fa5a3ba5a70d06b3ca1a (diff)
downloadlibdbusmenu-c0f0a8f2cc4adf48ea56ea0296037c00fe6c2c5c.tar.gz
libdbusmenu-c0f0a8f2cc4adf48ea56ea0296037c00fe6c2c5c.tar.bz2
libdbusmenu-c0f0a8f2cc4adf48ea56ea0296037c00fe6c2c5c.zip
Don't pass a NULL name to set_name
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r--libdbusmenu-gtk/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c
index 14c71ab..71b2456 100644
--- a/libdbusmenu-gtk/client.c
+++ b/libdbusmenu-gtk/client.c
@@ -747,7 +747,7 @@ menu_prop_change_cb (DbusmenuMenuitem * mi, gchar * prop, GVariant * variant, Db
} else if (!g_strcmp0(prop, DBUSMENU_MENUITEM_PROP_DISPOSITION)) {
process_disposition(mi, gmi, variant, gtkclient);
} else if (!g_strcmp0(prop, DBUSMENU_MENUITEM_PROP_ACCESSIBLE_DESC)) {
- atk_object_set_name(gtk_widget_get_accessible(GTK_WIDGET(gmi)), variant == NULL ? NULL :
+ atk_object_set_name(gtk_widget_get_accessible(GTK_WIDGET(gmi)), variant == NULL ? "" :
g_variant_get_string(variant, NULL));
}