[gimp] Present the toplevel not the shell



commit bb8daa49a38d5692d6742d6c139630bfc954469b
Author: Michael Natterer <mitch gimp org>
Date:   Sat Sep 26 10:39:08 2009 +0200

    Present the toplevel not the shell

 app/actions/windows-commands.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/actions/windows-commands.c b/app/actions/windows-commands.c
index e176857..f73c65c 100644
--- a/app/actions/windows-commands.c
+++ b/app/actions/windows-commands.c
@@ -72,7 +72,7 @@ windows_show_display_cmd_callback (GtkAction *action,
 {
   GimpDisplay *display = g_object_get_data (G_OBJECT (action), "display");
 
-  gtk_window_present (GTK_WINDOW (display->shell));
+  gtk_window_present (GTK_WINDOW (gtk_widget_get_toplevel (display->shell)));
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]