aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 008d62dd8d..56605dc2ab 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -2275,7 +2275,7 @@ on_selection_changed (GtkObject *obj, gpointer user_data)
static void
fb_resize_cb (GtkWidget *w, GtkAllocation *a, FolderBrowser *fb)
{
- if (fb->preview_shown)
+ if (GTK_WIDGET_REALIZED (w) && fb->preview_shown)
mail_config_set_paned_size (a->height);
}