aboutsummaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-support/florence/files/fix-no-atspi-compile.patch
blob: 0bb5dee80fecb2b6036596be1cf27b4af85d8591 (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
26
27
28
29
30
diff --git a/src/florence.c b/src/florence.c
index b27c31b..feadefe 100644
--- a/src/florence.c
+++ b/src/florence.c
@@ -44,12 +44,6 @@
 /* exit signal */
 static int flo_exit=FALSE;
 
-#ifdef ENABLE_AT_SPI2
-void flo_check_show (struct florence *florence, AtspiAccessible *obj);
-#else
-void flo_check_show (struct florence *florence, Accessible *obj);
-#endif
-
 /* Called on destroy event (systray quit or close window) */
 void flo_destroy (void)
 {
@@ -61,6 +55,12 @@ void flo_destroy (void)
 }
 
 #ifdef AT_SPI
+#ifdef ENABLE_AT_SPI2
+void flo_check_show (struct florence *florence, AtspiAccessible *obj);
+#else
+void flo_check_show (struct florence *florence, Accessible *obj);
+#endif
+
 /* Called to destroy the icon */
 void flo_icon_destroy (GtkWidget *widget, gpointer user_data)
 {