diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-auth-client.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/empathy-auth-client.c b/src/empathy-auth-client.c index 529f3734f..d1f905c4f 100644 --- a/src/empathy-auth-client.c +++ b/src/empathy-auth-client.c @@ -274,6 +274,14 @@ auth_factory_auth_passsword_failed (EmpathyAuthFactory *factory, gtk_widget_show (dialog); } +static void +sanity_cb (GObject *source, + GAsyncResult *result, + gpointer user_data) +{ + start_timer (); +} + int main (int argc, char **argv) @@ -355,8 +363,8 @@ main (int argc, use_timer = FALSE; } - start_timer (); - empathy_sanity_checking_run_async (NULL, NULL); + /* Wait for the migration code to be done before starting the timer */ + empathy_sanity_checking_run_async (sanity_cb, NULL); gtk_main (); |