diff options
author | Ted Gould <ted@gould.cx> | 2012-02-15 11:18:15 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-02-15 11:18:15 -0600 |
commit | 9df45bcfe5a1df71c80e4dd5595e2f924923bc94 (patch) | |
tree | c9110e6a1150c6d5cc411f08a1ba4b99810daa53 | |
parent | 07a5afe948c0965c993de7a1abe199a24057aba3 (diff) | |
parent | e091289a3ad1323b565d70411b622ecb9ffced2a (diff) | |
download | libdbusmenu-9df45bcfe5a1df71c80e4dd5595e2f924923bc94.tar.gz libdbusmenu-9df45bcfe5a1df71c80e4dd5595e2f924923bc94.tar.bz2 libdbusmenu-9df45bcfe5a1df71c80e4dd5595e2f924923bc94.zip |
Use defines instead of strings
-rw-r--r-- | libdbusmenu-gtk/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c index ab3b77a..019a304 100644 --- a/libdbusmenu-gtk/parser.c +++ b/libdbusmenu-gtk/parser.c @@ -589,7 +589,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; |