summaryrefslogtreecommitdiff
path: root/capplets/appearance/mate-wp-xml.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-20 19:05:38 +0200
committerinfirit <[email protected]>2014-05-20 19:05:38 +0200
commitee1b275f63d715701c46f9584bf5c943f354a6a0 (patch)
tree47607528ef17c1e71a087a505b4666b950b6ccc5 /capplets/appearance/mate-wp-xml.c
parente95ed95c19b113368845da8c868b73292e8f936f (diff)
downloadmate-control-center-ee1b275f63d715701c46f9584bf5c943f354a6a0.tar.bz2
mate-control-center-ee1b275f63d715701c46f9584bf5c943f354a6a0.tar.xz
Drop support for glib < 2.36
Diffstat (limited to 'capplets/appearance/mate-wp-xml.c')
-rw-r--r--capplets/appearance/mate-wp-xml.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/capplets/appearance/mate-wp-xml.c b/capplets/appearance/mate-wp-xml.c
index 11e19235..07420b7f 100644
--- a/capplets/appearance/mate-wp-xml.c
+++ b/capplets/appearance/mate-wp-xml.c
@@ -417,11 +417,7 @@ void mate_wp_xml_load_list(AppearanceData* data)
char* wpdbfile;
gint i;
- #if GLIB_CHECK_VERSION(2, 6, 0)
wpdbfile = g_build_filename(g_get_user_config_dir(), "mate", "backgrounds.xml", NULL);
- #else // glib version < 2.6.0
- wpdbfile = g_build_filename(g_get_home_dir(), ".config", "mate", "backgrounds.xml", NULL);
- #endif
if (g_file_test(wpdbfile, G_FILE_TEST_EXISTS))
{
@@ -431,11 +427,7 @@ void mate_wp_xml_load_list(AppearanceData* data)
{
g_free (wpdbfile);
- #if GLIB_CHECK_VERSION(2, 6, 0)
wpdbfile = g_build_filename(g_get_user_config_dir(), "mate", "wp-list.xml", NULL);
- #else // glib version < 2.6.0
- wpdbfile = g_build_filename(g_get_home_dir(), ".config", "mate", "wp-list.xml", NULL);
- #endif
if (g_file_test(wpdbfile, G_FILE_TEST_EXISTS))
{
@@ -508,11 +500,7 @@ void mate_wp_xml_save_list(AppearanceData* data)
g_hash_table_destroy(data->wp_hash);
list = g_slist_reverse(list);
- #if GLIB_CHECK_VERSION(2, 6, 0)
wpfile = g_build_filename(g_get_user_config_dir(), "mate", "backgrounds.xml", NULL);
- #else // glib version < 2.6.0
- wpfile = g_build_filename(g_get_home_dir(), ".config", "mate", "backgrounds.xml", NULL);
- #endif
xmlKeepBlanksDefault(0);