diff options
author | Ted Gould <ted@gould.cx> | 2012-02-10 10:30:17 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-02-10 10:30:17 -0600 |
commit | 344a334ed85f1c820f641374f8d41422da74c973 (patch) | |
tree | b97bdf66b68d74347ab144233a273e5ba2606a2d /libdbusmenu-gtk | |
parent | 74aa7ec5b2b0854fd053f627fed224c6035147d5 (diff) | |
download | libdbusmenu-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.c | 4 |
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; } |