diff options
author | infirit <[email protected]> | 2014-06-02 17:48:51 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-06-02 17:48:51 +0200 |
commit | e117e3f0d0ce8348394473c7a8a816c4e2e67ddf (patch) | |
tree | 9f5a5284f6dff326024f335929f8d23cd37a8299 /stickynotes/stickynotes.c | |
parent | c27b52b41a3139366c13e6efc4f2e7a3ab8eb145 (diff) | |
download | mate-applets-e117e3f0d0ce8348394473c7a8a816c4e2e67ddf.tar.bz2 mate-applets-e117e3f0d0ce8348394473c7a8a816c4e2e67ddf.tar.xz |
Drop support for glib < 2.36
Diffstat (limited to 'stickynotes/stickynotes.c')
-rw-r--r-- | stickynotes/stickynotes.c | 9 |
1 files changed, 0 insertions, 9 deletions
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)) { |