aboutsummaryrefslogtreecommitdiff
path: root/misc/ardesia/010-ardesia-gcc10-fix.patch
blob: c422990195f8bb4cd7c2a29321f798839bb881e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/src/bar.c
+++ b/src/bar.c
@@ -26,6 +26,8 @@
 #include <utils.h>
 #include <bar.h>
 
+GtkBuilder *bar_gtk_builder = NULL;
+
 /* 
  * Calculate the better position where put the bar.
  */
--- a/src/utils.h
+++ b/src/utils.h
@@ -62,7 +62,7 @@
 
 
 /* The gtk builder object of the bar window */
-GtkBuilder *bar_gtk_builder;
+extern GtkBuilder *bar_gtk_builder;
 
 		
 #define PROGRAM_NAME "Ardesia"