diff options
Diffstat (limited to 'daemon/gdm-display.c')
-rw-r--r-- | daemon/gdm-display.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/daemon/gdm-display.c b/daemon/gdm-display.c index 837e3f95..42762fd8 100644 --- a/daemon/gdm-display.c +++ b/daemon/gdm-display.c @@ -178,13 +178,9 @@ _create_access_file_for_user (GdmDisplay *self, GError **error) { GdmDisplayAccessFile *access_file; - GError *file_error; access_file = gdm_display_access_file_new (username); - - file_error = NULL; - if (!gdm_display_access_file_open (access_file, &file_error)) { - g_propagate_error (error, file_error); + if (!gdm_display_access_file_open (access_file, error)) { return NULL; } |