summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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