aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-10 10:30:17 -0600
committerTed Gould <ted@gould.cx>2012-02-10 10:30:17 -0600
commit344a334ed85f1c820f641374f8d41422da74c973 (patch)
treeb97bdf66b68d74347ab144233a273e5ba2606a2d /libdbusmenu-gtk
parent74aa7ec5b2b0854fd053f627fed224c6035147d5 (diff)
downloadlibdbusmenu-344a334ed85f1c820f641374f8d41422da74c973.tar.gz
libdbusmenu-344a334ed85f1c820f641374f8d41422da74c973.tar.bz2
libdbusmenu-344a334ed85f1c820f641374f8d41422da74c973.zip
Heh, wrote the code but forgot to handle the error
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r--libdbusmenu-gtk/client.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c
index 927f0ae..5bf7469 100644
--- a/libdbusmenu-gtk/client.c
+++ b/libdbusmenu-gtk/client.c
@@ -741,6 +741,10 @@ process_a11y_desc (DbusmenuMenuitem * mi, GtkMenuItem * gmi, GVariant * variant,
setname = g_variant_get_string(variant, NULL);
}
+ if (setname == NULL) {
+ setname = "";
+ }
+
atk_object_set_name(aobj, setname);
return;
}