Mercurial > pidgin.yaz
diff pidgin/plugins/xmppconsole.c @ 32708:10e5000326a5
Convert code to use the purple_account accessor functions.
| author | andrew.victor@mxit.com |
|---|---|
| date | Sat, 01 Oct 2011 21:04:35 +0000 |
| parents | 917c597beb97 |
| children | 2ec94166be43 |
line wrap: on
line diff
--- a/pidgin/plugins/xmppconsole.c Sat Oct 01 18:21:43 2011 +0000 +++ b/pidgin/plugins/xmppconsole.c Sat Oct 01 21:04:35 2011 +0000 @@ -733,10 +733,10 @@ account = purple_accounts_find(gtk_combo_box_get_active_text(GTK_COMBO_BOX(console->dropdown)), "prpl-jabber"); - if (!account || !account->gc) + if (!account || !purple_account_get_connection(account)) return; - console->gc = account->gc; + console->gc = purple_account_get_connection(account); gtk_imhtml_clear(GTK_IMHTML(console->imhtml)); }
