summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/gdmcommon.c2
-rw-r--r--gui/gdmwm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/gdmcommon.c b/gui/gdmcommon.c
index ae2dc6dc..88037c8f 100644
--- a/gui/gdmcommon.c
+++ b/gui/gdmcommon.c
@@ -704,7 +704,7 @@ gdm_common_expand_text (const gchar *text)
g_string_append_printf (str, ngettext("%d second", "%d seconds", gdm_timed_delay),
gdm_timed_delay);
case 'u':
- g_string_append (str, ve_sure_string (gdm_config_get_string (GDM_KEY_TIMED_LOGIN)));
+ g_string_append (str, ve_sure_string (g_getenv("GDM_TIMED_LOGIN_OK")));
break;
default:
if (ch < 127)
diff --git a/gui/gdmwm.c b/gui/gdmwm.c
index e06c136b..9916e812 100644
--- a/gui/gdmwm.c
+++ b/gui/gdmwm.c
@@ -318,7 +318,7 @@ get_typed_property_data (Display *xdisplay,
}
if (!abort && expected_format && expected_format != format_returned)
{
- g_warning (G_GNUC_PRETTY_FUNCTION "(): Expected format (%u) unmatched (%d), programmer was drunk?",
+ g_warning (G_GNUC_PRETTY_FUNCTION "(): Expected format (%u) unmatched (%d)",
expected_format, format_returned);
abort++;
}