summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-06-29 16:39:35 +0200
committerStefano Karapetsas <[email protected]>2013-06-29 16:39:35 +0200
commit7392995dc8ff15c9e91c60009d5f51ee978843d9 (patch)
tree67beb11ce3af1acda871bac977db303cc3d5afba
parenta5bac5867a6d00d5f9b9c8e3abeaa1c2667fc246 (diff)
downloadmate-panel-7392995dc8ff15c9e91c60009d5f51ee978843d9.tar.bz2
mate-panel-7392995dc8ff15c9e91c60009d5f51ee978843d9.tar.xz
Fix g_type_init deprecation
-rw-r--r--applets/clock/test-system-timezone.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/applets/clock/test-system-timezone.c b/applets/clock/test-system-timezone.c
index 11788f0e..8e3e26af 100644
--- a/applets/clock/test-system-timezone.c
+++ b/applets/clock/test-system-timezone.c
@@ -93,7 +93,9 @@ main (int argc,
retval = 0;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
context = g_option_context_new ("");
g_option_context_add_main_entries (context, options, NULL);