aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-dialog/gconf-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk-dialog/gconf-helper.c')
-rw-r--r--src/gtk-dialog/gconf-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtk-dialog/gconf-helper.c b/src/gtk-dialog/gconf-helper.c
index 7fc40d6..a8b618a 100644
--- a/src/gtk-dialog/gconf-helper.c
+++ b/src/gtk-dialog/gconf-helper.c
@@ -47,7 +47,7 @@ static void update_menu_entries_callback (GConfClient *client, guint cnxn_id, GC
GConfValue * value = gconf_entry_get_value (entry);
const gchar * key = gconf_entry_get_key (entry);
- if(strcmp (key, SUPPRESS_KEY) == 0) {
+ if(g_strcmp0 (key, SUPPRESS_KEY) == 0) {
if (gconf_value_get_bool (value)) {
dbusmenu_menuitem_property_set(restart_shutdown_logout_mi->logout_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Log Out"));
dbusmenu_menuitem_property_set(restart_shutdown_logout_mi->restart_mi, DBUSMENU_MENUITEM_PROP_LABEL, _("Restart"));