diff options
author | monsta <[email protected]> | 2016-01-14 16:56:01 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-14 16:56:01 +0300 |
commit | 9317092fc9ab1ab0bac0fd6098776451c48ffbe3 (patch) | |
tree | 7af7d9995459856b245551497b332d18f25b7d45 | |
parent | 21686dc36dccc260e7aed4c4935c71989c970710 (diff) | |
download | mate-control-center-9317092fc9ab1ab0bac0fd6098776451c48ffbe3.tar.bz2 mate-control-center-9317092fc9ab1ab0bac0fd6098776451c48ffbe3.tar.xz |
appearance: remove dead code
-rw-r--r-- | capplets/appearance/mate-wp-xml.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/capplets/appearance/mate-wp-xml.c b/capplets/appearance/mate-wp-xml.c index 07420b7f..273c6e83 100644 --- a/capplets/appearance/mate-wp-xml.c +++ b/capplets/appearance/mate-wp-xml.c @@ -437,30 +437,6 @@ void mate_wp_xml_load_list(AppearanceData* data) g_free (wpdbfile); - /* This is obsoleto. - * Do not store stuff in ~/.mate2/ */ - #ifndef MATE_DISABLE_DEPRECATED - /*wpdbfile = g_build_filename(g_get_home_dir(), ".mate2", "backgrounds.xml", NULL); - - if (g_file_test(wpdbfile, G_FILE_TEST_EXISTS)) - { - mate_wp_xml_load_xml(data, wpdbfile); - } - else - { - g_free (wpdbfile); - - wpdbfile = g_build_filename(g_get_home_dir(), ".mate2", "wp-list.xml", NULL); - - if (g_file_test(wpdbfile, G_FILE_TEST_EXISTS)) - { - mate_wp_xml_load_xml(data, wpdbfile); - } - } - - g_free(wpdbfile);*/ - #endif /* MATE_DISABLE_DEPRECATED */ - datadir = g_build_filename(g_get_user_data_dir(), "mate-background-properties", NULL); mate_wp_xml_load_from_dir(datadir, data); g_free(datadir); |