gtk_window_present() the toplevel, not the shell

This commit is contained in:
Michael Natterer 2009-09-25 22:01:56 +02:00
parent accdd3d8a1
commit f7f58d57be
1 changed files with 3 additions and 1 deletions

View File

@ -182,7 +182,9 @@ static void
gimp_display_shell_dnd_flush (GimpDisplayShell *shell,
GimpImage *image)
{
gtk_window_present (GTK_WINDOW (shell));
GtkWidget *toplevel = gtk_widget_get_toplevel (GTK_WIDGET (shell));
gtk_window_present (GTK_WINDOW (toplevel));
gimp_image_flush (image);