summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-12-04 15:06:30 +0100
committerraveit65 <[email protected]>2020-12-10 15:35:41 +0100
commit099324dcb930c77add9100df9c059d4485f78658 (patch)
tree064bd8247719d77b11fc8741622c394be7e775f5
parent1cd9731e1da41ea27bba4181bc6c37eb336a0563 (diff)
downloadmate-applets-099324dcb930c77add9100df9c059d4485f78658.tar.bz2
mate-applets-099324dcb930c77add9100df9c059d4485f78658.tar.xz
geyes: Remove duplicated NULL check
-rw-r--r--geyes/src/geyes.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/geyes/src/geyes.c b/geyes/src/geyes.c
index 6bdf49b1..8f763b74 100644
--- a/geyes/src/geyes.c
+++ b/geyes/src/geyes.c
@@ -314,20 +314,16 @@ destroy_cb (GObject *object,
g_object_unref (eyes_applet->pupil_image);
eyes_applet->pupil_image = NULL;
- if (eyes_applet->theme_dir)
- g_free (eyes_applet->theme_dir);
+ g_free (eyes_applet->theme_dir);
eyes_applet->theme_dir = NULL;
- if (eyes_applet->theme_name)
- g_free (eyes_applet->theme_name);
+ g_free (eyes_applet->theme_name);
eyes_applet->theme_name = NULL;
- if (eyes_applet->eye_filename)
- g_free (eyes_applet->eye_filename);
+ g_free (eyes_applet->eye_filename);
eyes_applet->eye_filename = NULL;
- if (eyes_applet->pupil_filename)
- g_free (eyes_applet->pupil_filename);
+ g_free (eyes_applet->pupil_filename);
eyes_applet->pupil_filename = NULL;
if (eyes_applet->prop_box.pbox)