diff options
author | rbuj <[email protected]> | 2020-01-30 10:56:12 +0100 |
---|---|---|
committer | monsta <[email protected]> | 2020-02-15 16:11:13 +0300 |
commit | 4832c00beefb4fc7d4ca3a23538941001d28f871 (patch) | |
tree | aca53e97b640cb5d95e40ef4330996735a2fe966 /eel | |
parent | 9f8b8d32b2d55dd3d3cdeed426af259862bf7b47 (diff) | |
download | caja-4832c00beefb4fc7d4ca3a23538941001d28f871.tar.bz2 caja-4832c00beefb4fc7d4ca3a23538941001d28f871.tar.xz |
Fix build using gcc 10 -fno-common flag
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-background.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eel/eel-background.c b/eel/eel-background.c index 9f4bc0c9..672a497c 100644 --- a/eel/eel-background.c +++ b/eel/eel-background.c @@ -36,7 +36,6 @@ #include <gio/gio.h> #include <math.h> #include <stdio.h> -#include <libcaja-private/caja-global-preferences.h> enum { @@ -427,6 +426,7 @@ set_root_surface (EelBackground *self, static void init_fade (EelBackground *self) { + GSettings *mate_background_preferences; GtkWidget *widget = self->details->widget; gboolean do_fade; @@ -434,8 +434,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; } |