* Partially fixes NB#78857, wait for the selected folder synchronization when closin...
authorSergio Villar Senin <svillar@igalia.com>
Wed, 2 Jan 2008 18:18:20 +0000 (18:18 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Wed, 2 Jan 2008 18:18:20 +0000 (18:18 +0000)
pmo-trunk-r3973

src/widgets/modest-folder-view.c

index 08da13b..1bcca85 100644 (file)
@@ -1126,7 +1126,7 @@ modest_folder_view_finalize (GObject *obj)
 
        if (priv->cur_folder_store) {
                if (TNY_IS_FOLDER(priv->cur_folder_store))
-                       tny_folder_sync_async (TNY_FOLDER(priv->cur_folder_store), FALSE, NULL, NULL, NULL);
+                       tny_folder_sync (TNY_FOLDER(priv->cur_folder_store), FALSE, NULL);
 
                g_object_unref (priv->cur_folder_store);
                priv->cur_folder_store = NULL;