From 13a6f218747f48162aa1b4b15c281b6edd1992c4 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Mon, 8 Jun 2009 09:40:44 +0200 Subject: [PATCH] Fixes NB#121163, crash when selecting special folders in new folder dialog --- src/modest-ui-actions.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index dd3275c..27db767 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -3433,14 +3433,10 @@ do_create_folder_performer (gboolean canceled, ModestMailOperation *mail_op; if (canceled || err) { - TnyAccount *account = modest_mail_operation_get_account (mail_op); /* In disk full conditions we could get this error here */ modest_tny_account_store_check_disk_full_error (modest_runtime_get_account_store(), (GtkWidget *) parent_window, err, - account, - _("mail_in_ui_folder_create_error_memory")); - if (account) - g_object_unref (account); + NULL, _("mail_in_ui_folder_create_error_memory")); /* This happens if we have selected the outbox folder as the parent */ -- 1.7.9.5