aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-12 12:42:49 -0600
committerTed Gould <ted@gould.cx>2012-02-12 12:42:49 -0600
commite091289a3ad1323b565d70411b622ecb9ffced2a (patch)
tree13c4f20e1f9b6970ee1c88c487e8c73a09908f1b /libdbusmenu-gtk
parente5354a3ceb63f6bbe0097807122260c82e9836d4 (diff)
downloadlibdbusmenu-e091289a3ad1323b565d70411b622ecb9ffced2a.tar.gz
libdbusmenu-e091289a3ad1323b565d70411b622ecb9ffced2a.tar.bz2
libdbusmenu-e091289a3ad1323b565d70411b622ecb9ffced2a.zip
Making sure our strings come from defines to avoid typos
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r--libdbusmenu-gtk/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c
index aefbd05..efa8485 100644
--- a/libdbusmenu-gtk/parser.c
+++ b/libdbusmenu-gtk/parser.c
@@ -584,7 +584,7 @@ construct_dbusmenu_for_widget (GtkWidget * widget)
// Sometimes, an app will directly find and modify the label
// (like empathy), so watch the label especially for that.
gchar * text = sanitize_label (GTK_LABEL (label));
- dbusmenu_menuitem_property_set (mi, "label", text);
+ dbusmenu_menuitem_property_set (mi, DBUSMENU_MENUITEM_PROP_LABEL, text);
g_free (text);
pdata->label = label;