From 9092321563dc29826453254e5da26cf4ccfcccb6 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 30 Jan 2020 10:56:12 +0100 Subject: Fix build using gcc 10 -fno-common flag --- eel/eel-background.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'eel') diff --git a/eel/eel-background.c b/eel/eel-background.c index a41360d5..5d190153 100644 --- a/eel/eel-background.c +++ b/eel/eel-background.c @@ -431,6 +431,7 @@ set_root_surface (EelBackground *self, static void init_fade (EelBackground *self) { + GSettings *mate_background_preferences; GtkWidget *widget = self->details->widget; gboolean do_fade; @@ -438,8 +439,11 @@ init_fade (EelBackground *self) return; } + mate_background_preferences = g_settings_new ("org.mate.background"); do_fade = g_settings_get_boolean (mate_background_preferences, MATE_BG_KEY_BACKGROUND_FADE); + g_object_unref (mate_background_preferences); + if (!do_fade) { return; } -- cgit v1.2.1