summaryrefslogtreecommitdiff
path: root/applets/clock
diff options
context:
space:
mode:
Diffstat (limited to 'applets/clock')
-rw-r--r--applets/clock/test-system-timezone.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/clock/test-system-timezone.c b/applets/clock/test-system-timezone.c
index 79084618..8e3e26af 100644
--- a/applets/clock/test-system-timezone.c
+++ b/applets/clock/test-system-timezone.c
@@ -93,6 +93,10 @@ 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);