diff options
author | rbuj <[email protected]> | 2020-12-04 15:22:29 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-12-10 15:35:41 +0100 |
commit | 89c85c3ca0d81ac0db527c14e5a3e6daad86dd72 (patch) | |
tree | daf45c827fb8c3814ffda9b0f91c3791612883e8 /geyes/src/themes.c | |
parent | 672042924f6a857d86c480c6cc76550d4eb718fc (diff) | |
download | mate-applets-89c85c3ca0d81ac0db527c14e5a3e6daad86dd72.tar.bz2 mate-applets-89c85c3ca0d81ac0db527c14e5a3e6daad86dd72.tar.xz |
geyes: Use g_clear_error
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); } } |