summaryrefslogtreecommitdiff
blob: a707d09b0a78fe0d541ccaffa223f1885111cb97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --git a/src/gui.c b/src/gui.c
index a3af442..5298c11 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -76,6 +76,7 @@ extern preferencestype preferences;
 static void on_highcheck_toggled(GtkToggleButton *togglebutton, gpointer user_data);
 static void on_soundcheck_toggled(GtkToggleButton *togglebutton, gpointer user_data);
 
+guitype *gui;
 
 /**********************************MAIN WINDOW********************************/
 guitype *
diff --git a/src/gui.h b/src/gui.h
index 77b442f..6ba406f 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -53,7 +53,7 @@ typedef struct guitype {
     gchar           *high8tagname;
 } guitype;
 
-guitype *gui;
+extern guitype *gui;
 
 guitype *new_gui(void);
 void create_mainwindow(void);