Blame SOURCES/g-source-func.patch

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