From 7392995dc8ff15c9e91c60009d5f51ee978843d9 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Sat, 29 Jun 2013 16:39:35 +0200 Subject: Fix g_type_init deprecation --- applets/clock/test-system-timezone.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'applets') 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); -- cgit v1.2.1