From e091289a3ad1323b565d70411b622ecb9ffced2a Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sun, 12 Feb 2012 12:42:49 -0600 Subject: Making sure our strings come from defines to avoid typos --- libdbusmenu-gtk/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdbusmenu-gtk') 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; -- cgit v1.2.3