summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-29 23:33:45 +0100
committerraveit65 <[email protected]>2020-01-31 19:05:37 +0100
commitf9563c4688f2d186307e9e1236ee721dc818c882 (patch)
tree36ac1f50b616419a79421f0c67d54fc14a9a535c /src
parent95ae61d32508a4b4c5bebd92ee98cd97e8ec6783 (diff)
downloadmate-terminal-f9563c4688f2d186307e9e1236ee721dc818c882.tar.bz2
mate-terminal-f9563c4688f2d186307e9e1236ee721dc818c882.tar.xz
Fix build using gcc 10 -fno-common flag
Diffstat (limited to 'src')
-rw-r--r--src/terminal-app.c2
-rw-r--r--src/terminal-app.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/terminal-app.c b/src/terminal-app.c
index 3fdde4e..3a7ce5f 100644
--- a/src/terminal-app.c
+++ b/src/terminal-app.c
@@ -68,6 +68,8 @@
*
*/
+GSettings *settings_global;
+
struct _TerminalAppClass
{
GObjectClass parent_class;
diff --git a/src/terminal-app.h b/src/terminal-app.h
index 7b1b04e..e6f732e 100644
--- a/src/terminal-app.h
+++ b/src/terminal-app.h
@@ -83,7 +83,7 @@ G_BEGIN_DECLS
typedef struct _TerminalAppClass TerminalAppClass;
typedef struct _TerminalApp TerminalApp;
-GSettings *settings_global;
+extern GSettings *settings_global;
GType terminal_app_get_type (void);