summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c879993..86b55f3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -206,7 +206,9 @@ main (int argc, char **argv)
PolkitAgentListener *listener;
GError *error;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
gtk_init (&argc, &argv);
loop = NULL;