gimp_display_shell_fill_idle() present the toplevel not the shell

Not sure if this one should go to the image window...
This commit is contained in:
Michael Natterer 2009-09-25 17:49:50 +02:00
parent 32783d7228
commit bcef4f275d
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}