gobjectification: af2ac441: Fixes hanging of jabber connections at a...
gillux at soc.pidgin.im
gillux at soc.pidgin.im
Fri Jun 1 16:51:29 EDT 2012
----------------------------------------------------------------------
Revision: af2ac44110d47d4f99b3aa8dde823785ad139ed1
Parent: b1aab7e6765149a08e7607bf0049e1e00ef738de
Author: gillux at soc.pidgin.im
Date: 06/01/12 14:32:13
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/af2ac44110d47d4f99b3aa8dde823785ad139ed1
Changelog:
Fixes hanging of jabber connections at authentication step.
Also made _purple_connection_new_unregister() consistant
regarding to _purple_connection_new().
Changes against parent b1aab7e6765149a08e7607bf0049e1e00ef738de
patched libpurple/connection.c
-------------- next part --------------
============================================================
--- libpurple/connection.c 970515e8dcfd61b68d419cfc8460e4202baea804
+++ libpurple/connection.c 900fbe341034284348ad63ea4f10050ed04066b6
@@ -224,6 +224,7 @@ _purple_connection_new(PurpleAccount *ac
priv = PURPLE_CONNECTION_GET_PRIVATE(gc);
priv->password = g_strdup(password);
+ connections = g_list_append(connections, gc);
g_signal_emit(G_OBJECT(gc), signals[SIG_SIGNING_ON], 0);
@@ -293,11 +294,8 @@ _purple_connection_new_unregister(Purple
priv = PURPLE_CONNECTION_GET_PRIVATE(gc);
- priv->prpl = prpl;
priv->password = g_strdup(password);
- purple_connection_set_state(gc, PURPLE_CONNECTION_STATE_CONNECTING);
connections = g_list_append(connections, gc);
- purple_account_set_connection(account, gc);
g_signal_emit(G_OBJECT(gc), signals[SIG_SIGNING_ON], 0);
More information about the Commits
mailing list