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 /libcaja-private | |
parent | 9f8b8d32b2d55dd3d3cdeed426af259862bf7b47 (diff) | |
download | caja-4832c00beefb4fc7d4ca3a23538941001d28f871.tar.bz2 caja-4832c00beefb4fc7d4ca3a23538941001d28f871.tar.xz |
Fix build using gcc 10 -fno-common flag
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-global-preferences.c | 13 | ||||
-rw-r--r-- | libcaja-private/caja-global-preferences.h | 24 |
2 files changed, 25 insertions, 12 deletions
diff --git a/libcaja-private/caja-global-preferences.c b/libcaja-private/caja-global-preferences.c index 98f44e80..6a22c967 100644 --- a/libcaja-private/caja-global-preferences.c +++ b/libcaja-private/caja-global-preferences.c @@ -34,6 +34,19 @@ #include <eel/eel-string.h> #include <glib/gi18n.h> +GSettings *caja_preferences; +GSettings *caja_media_preferences; +GSettings *caja_window_state; +GSettings *caja_icon_view_preferences; +GSettings *caja_desktop_preferences; +GSettings *caja_tree_sidebar_preferences; +GSettings *caja_compact_view_preferences; +GSettings *caja_list_view_preferences; +GSettings *caja_extension_preferences; + +GSettings *mate_background_preferences; +GSettings *mate_lockdown_preferences; + /* * Public functions */ diff --git a/libcaja-private/caja-global-preferences.h b/libcaja-private/caja-global-preferences.h index d3e4b7ce..a3e83084 100644 --- a/libcaja-private/caja-global-preferences.h +++ b/libcaja-private/caja-global-preferences.h @@ -211,18 +211,18 @@ typedef enum void caja_global_preferences_init (void); char *caja_global_preferences_get_default_folder_viewer_preference_as_iid (void); -GSettings *caja_preferences; -GSettings *caja_media_preferences; -GSettings *caja_window_state; -GSettings *caja_icon_view_preferences; -GSettings *caja_desktop_preferences; -GSettings *caja_tree_sidebar_preferences; -GSettings *caja_compact_view_preferences; -GSettings *caja_list_view_preferences; -GSettings *caja_extension_preferences; - -GSettings *mate_background_preferences; -GSettings *mate_lockdown_preferences; +extern GSettings *caja_preferences; +extern GSettings *caja_media_preferences; +extern GSettings *caja_window_state; +extern GSettings *caja_icon_view_preferences; +extern GSettings *caja_desktop_preferences; +extern GSettings *caja_tree_sidebar_preferences; +extern GSettings *caja_compact_view_preferences; +extern GSettings *caja_list_view_preferences; +extern GSettings *caja_extension_preferences; + +extern GSettings *mate_background_preferences; +extern GSettings *mate_lockdown_preferences; G_END_DECLS |