Control: tags -1 patch

Hi,

I found a fix for this FTBFS, which is due to g_type_init being deprecated after glib 2.36.

Please consider applying the patch.

Best regards,
Andreas
--- a/src/application-service.c
+++ b/src/application-service.c
@@ -52,7 +52,10 @@
 int
 main (int argc, char ** argv)
 {
+#if GLIB_VERSION_CUR_STABLE < G_ENCODE_VERSION(2, 36)
+	// g_type_init is deprecated after 2.36
 	g_type_init();
+#endif
 
 	/* Bring us up as a basic indicator service */
 	service = indicator_service_new_version(INDICATOR_APPLICATION_DBUS_ADDR, INDICATOR_APPLICATION_SERVICE_VERSION);

Reply via email to