From e117e3f0d0ce8348394473c7a8a816c4e2e67ddf Mon Sep 17 00:00:00 2001 From: infirit Date: Mon, 2 Jun 2014 17:48:51 +0200 Subject: Drop support for glib < 2.36 --- stickynotes/stickynotes.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'stickynotes') diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c index d4e82ace..77439795 100644 --- a/stickynotes/stickynotes.c +++ b/stickynotes/stickynotes.c @@ -838,11 +838,7 @@ stickynotes_save_now (void) /* The XML file is $HOME/.config/mate/stickynotes-applet, most probably */ { - #if GLIB_CHECK_VERSION(2, 6, 0) gchar* file = g_build_filename(g_get_user_config_dir(), "mate", "stickynotes-applet.xml", NULL); - #else // glib version < 2.6.0 - gchar* file = g_build_filename(g_get_home_dir(), ".config", "mate", "stickynotes-applet.xml", NULL); - #endif xmlSaveFormatFile(file, doc, 1); @@ -879,12 +875,7 @@ stickynotes_load (GdkScreen *screen) int x, y, w, h; /* The XML file is $HOME/.config/mate/stickynotes-applet, most probably */ { - /* retro-compatibilidad con ~/.mate2/ */ - #if GLIB_CHECK_VERSION(2, 6, 0) gchar* file = g_build_filename(g_get_user_config_dir(), "mate", "stickynotes-applet.xml", NULL); - #else // glib version < 2.6.0 - gchar* file = g_build_filename(g_get_home_dir(), ".config", "mate", "stickynotes-applet.xml", NULL); - #endif if (g_file_test(file, G_FILE_TEST_EXISTS)) { -- cgit v1.2.1