X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-maemo-utils.c;h=bb9862c7990b23530e9049710df825f9a51f2d90;hb=a8045c4764cc654d97c286614a13b0c4d30e3d60;hp=1e00c5ab476072f30c4b3a6486546b1e65bf13ee;hpb=d1760b0aced656ccf2c841bead303fb2706af884;p=modest diff --git a/src/maemo/modest-maemo-utils.c b/src/maemo/modest-maemo-utils.c index 1e00c5a..bb9862c 100644 --- a/src/maemo/modest-maemo-utils.c +++ b/src/maemo/modest-maemo-utils.c @@ -272,7 +272,7 @@ static void on_camel_account_get_supported_secure_authentication_status ( } static gboolean -on_secure_auth_finished (gpointer user_data) +on_idle_secure_auth_finished (gpointer user_data) { ModestGetSupportedAuthInfo *info = (ModestGetSupportedAuthInfo*)user_data; /* Operation has finished, close the dialog. Control continues after @@ -345,7 +345,7 @@ on_camel_account_get_supported_secure_authentication ( printf("DEBUG: finished\n"); /* Close the dialog in a main thread */ - g_idle_add(on_secure_auth_finished, info); + g_idle_add(on_idle_secure_auth_finished, info); } gdk_threads_leave(); @@ -389,6 +389,8 @@ GList* modest_maemo_utils_get_supported_secure_authentication_methods (ModestTra default: tny_account = NULL; } + + /* TODO: Handle connection requests. */ if (!tny_account) { g_printerr ("%s could not create tny account.", __FUNCTION__);