summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-16 21:28:35 +0200
committerinfirit <[email protected]>2014-05-16 21:47:47 +0200
commit4534d11d0f99bc0f232f32db48aa87571f61a03c (patch)
tree3bc9483166417e00071aeb1bac7c5e7e67d18473
parentcb443937caaffd79c297d7799639b826411bf785 (diff)
downloadmate-panel-4534d11d0f99bc0f232f32db48aa87571f61a03c.tar.bz2
mate-panel-4534d11d0f99bc0f232f32db48aa87571f61a03c.tar.xz
Drop support for glib < 2.36
-rw-r--r--applets/clock/test-system-timezone.c4
-rw-r--r--mate-panel/panel-util.c4
2 files changed, 0 insertions, 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