changeset 471:4d0b703a094c

[gaim-migrate @ 481] display after draw committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 09 Jul 2000 18:06:11 +0000
parents 4bf9c74b9e4d
children 6a92cd7322cc
files src/dialogs.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Sun Jul 09 05:31:47 2000 +0000
+++ b/src/dialogs.c	Sun Jul 09 18:06:11 2000 +0000
@@ -502,7 +502,7 @@
 
 	d = gtk_dialog_new();
 	gtk_window_set_policy(GTK_WINDOW(d), FALSE, FALSE, TRUE);
-	gtk_widget_show(d);
+        gtk_widget_realize(d);
         label = gtk_label_new(message);
         gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
 	gtk_widget_show(label);
@@ -538,7 +538,6 @@
 	gtk_container_set_border_width(GTK_CONTAINER(d), 5);
 	gtk_window_set_title(GTK_WINDOW(d), title);
 	gtk_signal_connect(GTK_OBJECT(close), "clicked", GTK_SIGNAL_FUNC(destroy_dialog), d);
-        gtk_widget_realize(d);
 	aol_icon(d->window);
 
 	gtk_widget_show(d);