pidgin: 1573f5f4: purple_prefs_disconnect_by_handle() wont...

datallah at pidgin.im datallah at pidgin.im
Sat Jan 3 13:55:52 EST 2009


-----------------------------------------------------------------
Revision: 1573f5f4950069e05f77f6b74e1627bfae9667c5
Ancestor: c1eb11b61c6c6756eba2e3aa380e4e4e09db0914
Author: datallah at pidgin.im
Date: 2009-01-03T18:50:33
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1573f5f4950069e05f77f6b74e1627bfae9667c5

Modified files:
        libpurple/prefs.c

ChangeLog: 

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

-------------- next part --------------
============================================================
--- libpurple/prefs.c	e9a35b12de92bde6154b4bedbcab78939f50c3e7
+++ libpurple/prefs.c	8be9a47407e09fdfd0f6e7451aada93f50e110c3
@@ -1454,8 +1454,8 @@ purple_prefs_uninit()
 		save_timer = 0;
 		sync_prefs();
 	}
+
 	prefs_loaded = FALSE;
-	purple_prefs_disconnect_by_handle(purple_prefs_get_handle());
 	purple_prefs_destroy();
 	g_hash_table_destroy(prefs_hash);
 	prefs_hash = NULL;


More information about the Commits mailing list