From f9563c4688f2d186307e9e1236ee721dc818c882 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 29 Jan 2020 23:33:45 +0100 Subject: [PATCH] Fix build using gcc 10 -fno-common flag --- src/terminal-app.c | 2 ++ src/terminal-app.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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);