# HG changeset patch # User Evan Schoenberg # Date 1187315659 0 # Node ID 9a8bb33fc60ae862df6548219c34b4bee580c8b4 # Parent f821d4bffb0a755e272b1fb64ad091b10be1a1b9# Parent 708a8b97ba8796ad2b7ee906778fb50f4efa4864 merge of 'c6cd7cce984b6e47dfbce5041ac4bd47a1267e05' and 'fe19bc6b502b24b00a8fb3c3560dcb3171bd29d1' diff -r f821d4bffb0a -r 9a8bb33fc60a libpurple/protocols/gg/gg.c --- a/libpurple/protocols/gg/gg.c Tue Aug 14 22:00:24 2007 +0000 +++ b/libpurple/protocols/gg/gg.c Fri Aug 17 01:54:19 2007 +0000 @@ -411,6 +411,8 @@ purple_notify_info(NULL, _("New Gadu-Gadu Account Registered"), _("Registration completed successfully!"), NULL); + if(account->registration_cb) + (account->registration_cb)(account, TRUE, account->registration_cb_user_data); /* TODO: the currently open Accounts Window will not be updated withthe * new username and etc, we need to somehow have it refresh at this * point @@ -420,6 +422,9 @@ purple_connection_destroy(gc); exit_err: + if(account->registration_cb) + (account->registration_cb)(account, FALSE, account->registration_cb_user_data); + gg_register_free(h); g_free(email); g_free(p1);