diff options
Diffstat (limited to 'mail/e-mail-migrate.c')
-rw-r--r-- | mail/e-mail-migrate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/e-mail-migrate.c b/mail/e-mail-migrate.c index 51d6e353cf..1f9720ceeb 100644 --- a/mail/e-mail-migrate.c +++ b/mail/e-mail-migrate.c @@ -231,9 +231,9 @@ struct _imap_folder_info_1_0 { struct _migrate_state_info { gchar *label_name; - double progress; + gdouble progress; }; -static gboolean update_states_in_main_thread (const struct +static gboolean update_states_in_main_thread (const struct _migrate_state_info *info); static GHashTable *accounts_1_0 = NULL; @@ -2834,7 +2834,7 @@ migrate_folders(CamelStore *store, gboolean is_local, CamelFolderInfo *fi, const *nth_folder = *nth_folder + 1; info->progress = (double) (*nth_folder) / total_folders; - g_idle_add ((GSourceFunc) update_states_in_main_thread, + g_idle_add ((GSourceFunc) update_states_in_main_thread, &info); if (is_local) |