From 4534d11d0f99bc0f232f32db48aa87571f61a03c Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 16 May 2014 21:28:35 +0200 Subject: Drop support for glib < 2.36 --- applets/clock/test-system-timezone.c | 4 ---- mate-panel/panel-util.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/applets/clock/test-system-timezone.c b/applets/clock/test-system-timezone.c index 8e3e26af..79084618 100644 --- a/applets/clock/test-system-timezone.c +++ b/applets/clock/test-system-timezone.c @@ -93,10 +93,6 @@ 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); diff --git a/mate-panel/panel-util.c b/mate-panel/panel-util.c index dd6ad79b..4406b755 100644 --- a/mate-panel/panel-util.c +++ b/mate-panel/panel-util.c @@ -457,11 +457,7 @@ void panel_lock_screen(GdkScreen* screen) static char* panel_launcher_get_personal_path(void) { - #if GLIB_CHECK_VERSION(2, 6, 0) return g_build_filename(g_get_user_config_dir(), "mate", "panel2.d", "default", "launchers", NULL); - #else // glib version < 2.6.0 - return g_build_filename(g_get_home_dir(), ".config", "mate", "panel2.d", "default", "launchers", NULL); - #endif } gboolean -- cgit v1.2.1