diff options
Diffstat (limited to 'geyes/src/themes.c')
-rw-r--r-- | geyes/src/themes.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/geyes/src/themes.c b/geyes/src/themes.c index 1754b9e3..0a2530d1 100644 --- a/geyes/src/themes.c +++ b/geyes/src/themes.c @@ -238,8 +238,7 @@ phelp_cb (GtkDialog *dialog) gtk_window_set_screen (GTK_WINDOW (error_dialog), gtk_widget_get_screen (GTK_WIDGET (dialog))); gtk_widget_show (error_dialog); - g_error_free (error); - error = NULL; + g_clear_error (&error); } } |