From: Jose Dapena Paz Date: Mon, 14 Dec 2009 10:44:39 +0000 (+0100) Subject: Avoid wait on taking screenshot. Now it shouldn't be required. X-Git-Tag: 3.2.5~7 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=22a2aa923978b9bdcdb9d1fb6eebc08729a7a0e9 Avoid wait on taking screenshot. Now it shouldn't be required. Fix 3/3 of NB#139348 --- diff --git a/src/hildon2/modest-accounts-window.c b/src/hildon2/modest-accounts-window.c index 628329b..9609add 100644 --- a/src/hildon2/modest-accounts-window.c +++ b/src/hildon2/modest-accounts-window.c @@ -718,10 +718,7 @@ on_delete_event (GtkWidget *widget, gdk_window_process_updates (priv->account_view->window, TRUE); - /* Take screenshot. We have to wait a bit to ensure that - screenshot is properly taken */ hildon_gtk_window_take_screenshot (GTK_WINDOW (widget), TRUE); - g_usleep (G_USEC_PER_SEC); modest_account_view_set_show_last_update (MODEST_ACCOUNT_VIEW (priv->account_view), TRUE);