From bcef4f275dee81e44bc19f204ca81a6666561f9f Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 25 Sep 2009 17:49:50 +0200 Subject: [PATCH] gimp_display_shell_fill_idle() present the toplevel not the shell Not sure if this one should go to the image window... --- app/display/gimpdisplayshell.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c index 1aa712e6b5..1eccd2140b 100644 --- a/app/display/gimpdisplayshell.c +++ b/app/display/gimpdisplayshell.c @@ -1275,12 +1275,13 @@ gimp_display_shell_empty (GimpDisplayShell *shell) static gboolean gimp_display_shell_fill_idle (GimpDisplayShell *shell) { + GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (shell)); + shell->fill_idle_id = 0; gimp_display_shell_scale_shrink_wrap (shell, TRUE); - /* FIXME image window */ - gtk_window_present (GTK_WINDOW (shell)); + gtk_window_present (GTK_WINDOW (toplevel)); return FALSE; }