summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2019-05-27 10:25:35 +0200
committerOlaf Hering <olaf@aepfle.de>2019-05-27 10:25:35 +0200
commitb546cd2ef83f5cb2b742286b1c3db38eb9d9fafb (patch)
tree5ad59444cedb2f24ac5a0a045acc33d7c35fd16f
parentf94945fca828ce2c54c2584e49888262076b3cc8 (diff)
downloadpidgin-b546cd2ef83f5cb2b742286b1c3db38eb9d9fafb.tar.gz
fix account usage in pidgin_account_dialog_show_continue
dialog was just allocated, it has no valid account. Use the account which was passed to the function. This change allows editing the account settings.
-rw-r--r--pidgin/gtkaccount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidgin/gtkaccount.c b/pidgin/gtkaccount.c
index 36246fb368..393de7a375 100644
--- a/pidgin/gtkaccount.c
+++ b/pidgin/gtkaccount.c
@@ -1618,7 +1618,7 @@ pidgin_account_dialog_show_continue(PurpleAccount *account,
else
{
dialog->protocol_id =
- g_strdup(purple_account_get_protocol_id(dialog->account));
+ g_strdup(purple_account_get_protocol_id(account));
}
/* TODO if no protocols are loaded, this should inform the user that