comparison libpurple/prefs.c @ 24900:6267675cbc1d

purple_prefs_disconnect_by_handle() wont actually remove anything with the specified handle (and is also unnecessary because it'll get cleaned up in purple_prefs_destroy()). References #7761
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 03 Jan 2009 18:50:33 +0000
parents 60ae522a239a
children d5ab2f9485f2 68265bcc8814
comparison
equal deleted inserted replaced
24899:60ae522a239a 24900:6267675cbc1d
1452 { 1452 {
1453 purple_timeout_remove(save_timer); 1453 purple_timeout_remove(save_timer);
1454 save_timer = 0; 1454 save_timer = 0;
1455 sync_prefs(); 1455 sync_prefs();
1456 } 1456 }
1457
1457 prefs_loaded = FALSE; 1458 prefs_loaded = FALSE;
1458 purple_prefs_disconnect_by_handle(purple_prefs_get_handle());
1459 purple_prefs_destroy(); 1459 purple_prefs_destroy();
1460 g_hash_table_destroy(prefs_hash); 1460 g_hash_table_destroy(prefs_hash);
1461 prefs_hash = NULL; 1461 prefs_hash = NULL;
1462 1462
1463 } 1463 }