summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-10 11:22:01 +0200
committerStefano Karapetsas <[email protected]>2013-10-10 11:22:01 +0200
commit0210503d40a003b59b81674e961afb0007d9376e (patch)
tree070be3caf3a5f61a3cd3c51c1cbcf5695223ef2d /src/main.c
parent17be9de1cac740464fcec9fef6bccef2c84910da (diff)
downloadmate-polkit-0210503d40a003b59b81674e961afb0007d9376e.tar.bz2
mate-polkit-0210503d40a003b59b81674e961afb0007d9376e.tar.xz
Fix g_type_init deprecation
Diffstat (limited to 'src/main.c')
-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;