comparison libpurple/prefs.c @ 24868:1563f269a714

disapproval of revision 'c1eb11b61c6c6756eba2e3aa380e4e4e09db0914' Disable the prefs unint changes for now because they are problematic. Refs #7761.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 09 Jan 2009 03:57:01 +0000
parents 60ae522a239a
children cf8c060cdd25 a7b248333977
comparison
equal deleted inserted replaced
24867:60ae522a239a 24868:1563f269a714
712 sib->sibling = pref->sibling; 712 sib->sibling = pref->sibling;
713 } 713 }
714 714
715 name = pref_full_name(pref); 715 name = pref_full_name(pref);
716 716
717 if (prefs_loaded) 717 purple_debug_info("prefs", "removing pref %s\n", name);
718 purple_debug_info("prefs", "removing pref %s\n", name);
719 718
720 g_hash_table_remove(prefs_hash, name); 719 g_hash_table_remove(prefs_hash, name);
721 g_free(name); 720 g_free(name);
722 721
723 free_pref_value(pref); 722 free_pref_value(pref);
1452 { 1451 {
1453 purple_timeout_remove(save_timer); 1452 purple_timeout_remove(save_timer);
1454 save_timer = 0; 1453 save_timer = 0;
1455 sync_prefs(); 1454 sync_prefs();
1456 } 1455 }
1457 prefs_loaded = FALSE; 1456
1458 purple_prefs_disconnect_by_handle(purple_prefs_get_handle()); 1457 purple_prefs_disconnect_by_handle(purple_prefs_get_handle());
1459 purple_prefs_destroy(); 1458 purple_prefs_destroy();
1460 g_hash_table_destroy(prefs_hash); 1459 g_hash_table_destroy(prefs_hash);
1461 prefs_hash = NULL; 1460 prefs_hash = NULL;
1462 1461