From e95a0b6c8bac715a505f4ebfa15450fe98a15326 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 5 Oct 2001 18:24:15 +0000 Subject: #include "e-util/e-gtk-utils.h". (quit_box_new): Queue a draw on the * main.c: #include "e-util/e-gtk-utils.h". (quit_box_new): Queue a draw on the window; otherwise it seems to fail to redraw in some cases for some reason [see #11412]. svn path=/trunk/; revision=13450 --- shell/main.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'shell/main.c') diff --git a/shell/main.c b/shell/main.c index 3cc7bfd236..2e6d95e612 100644 --- a/shell/main.c +++ b/shell/main.c @@ -50,6 +50,9 @@ #include #include + +#include "e-util/e-gtk-utils.h" + #include "e-setup.h" #include "e-shell.h" @@ -88,6 +91,10 @@ quit_box_new (void) gtk_widget_show (label); gtk_widget_show (window); + /* For some reason, the window fails to update without this + sometimes. */ + gtk_widget_queue_draw (window); + while (gtk_events_pending ()) gtk_main_iteration (); -- cgit v1.2.3