diff options
author | Stefano Karapetsas <[email protected]> | 2013-10-10 11:22:01 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-10-10 11:22:01 +0200 |
commit | 0210503d40a003b59b81674e961afb0007d9376e (patch) | |
tree | 070be3caf3a5f61a3cd3c51c1cbcf5695223ef2d | |
parent | 17be9de1cac740464fcec9fef6bccef2c84910da (diff) | |
download | mate-polkit-0210503d40a003b59b81674e961afb0007d9376e.tar.bz2 mate-polkit-0210503d40a003b59b81674e961afb0007d9376e.tar.xz |
Fix g_type_init deprecation
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |