From 9317092fc9ab1ab0bac0fd6098776451c48ffbe3 Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 14 Jan 2016 16:56:01 +0300 Subject: appearance: remove dead code --- capplets/appearance/mate-wp-xml.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'capplets/appearance') 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); -- cgit v1.2.1