Blame SOURCES/g-source-func.patch

a44136
diff --git a/src/main.cpp b/src/main.cpp
a44136
index 6e2f5e4..b4b9317 100644
a44136
--- a/src/main.cpp
a44136
+++ b/src/main.cpp
a44136
@@ -51,6 +51,10 @@
a44136
 #define TD_DIST_VERSION PACKAGE_VERSION
a44136
 #endif
a44136
 
a44136
+#ifndef G_SOURCE_FUNC
a44136
+#define G_SOURCE_FUNC(f) ((GSourceFunc) (void (*)(void)) (f))
a44136
+#endif
a44136
+
a44136
 #define EXIT_UNSUPPORTED 2
a44136
 
a44136
 extern int thd_dbus_server_init(gboolean (*exit_handler)(void));