summaryrefslogtreecommitdiff
path: root/geyes/src/geyes.c
diff options
context:
space:
mode:
Diffstat (limited to 'geyes/src/geyes.c')
-rw-r--r--geyes/src/geyes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/geyes/src/geyes.c b/geyes/src/geyes.c
index a1e3a664..f5458caf 100644
--- a/geyes/src/geyes.c
+++ b/geyes/src/geyes.c
@@ -358,8 +358,7 @@ help_cb (GtkAction *action,
gtk_window_set_screen (GTK_WINDOW (dialog),
gtk_widget_get_screen (GTK_WIDGET (eyes_applet->applet)));
gtk_widget_show (dialog);
- g_error_free (error);
- error = NULL;
+ g_clear_error (&error);
}
}