summaryrefslogtreecommitdiff
blob: 5949e74838a932948539f01b407fa8e4e4a96f43 (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
--- timemachine-0.2.4.orig/src/main.c
+++ timemachine-0.2.4/src/main.c
@@ -169,7 +169,9 @@
 
     bind_meters();
     g_timeout_add(100, meter_tick, NULL);
+#ifdef HAVE_LADCCA
     gtk_idle_add(idle_cb, cca_client);
+#endif
 
     gtk_main();
 
@@ -197,6 +199,7 @@
     exit(0);
 }
 
+#ifdef HAVE_LADCCA
 gboolean idle_cb(gpointer data)
 {
     cca_client_t *cca_client = (cca_client_t *)data;
@@ -237,5 +240,6 @@
 
     return TRUE;
 }
+#endif
 
 /* vi:set ts=8 sts=4 sw=4: */