[gimp] gtk_window_present() the toplevel, not the shell
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] gtk_window_present() the toplevel, not the shell
- Date: Tue, 29 Sep 2009 18:41:12 +0000 (UTC)
commit 87001c1b3a2e9a7d5335d3db6efcf3dc7f2ee7ee
Author: Michael Natterer <mitch gimp org>
Date: Sat Sep 26 01:23:47 2009 +0200
gtk_window_present() the toplevel, not the shell
app/gui/gui.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/gui/gui.c b/app/gui/gui.c
index 59438aa..632188b 100644
--- a/app/gui/gui.c
+++ b/app/gui/gui.c
@@ -531,7 +531,7 @@ gui_restore_after_callback (Gimp *gimp,
windows_show_toolbox ();
/* move keyboard focus to the display */
- gtk_window_present (GTK_WINDOW (display->shell));
+ gtk_window_present (GTK_WINDOW (gtk_widget_get_toplevel (display->shell)));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]