Commit 817b4ef4 by Thomas Fitzsimmons Committed by Thomas Fitzsimmons

2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>

	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
	(connectSignals): Realize the window widget after connecting
	signals.

From-SVN: r98744
parent 84e0bcb8
2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(connectSignals): Realize the window widget after connecting
signals.
2005-04-25 Jeroen Frijters <jeroen@frijters.net>
* java/awt/GraphicsEnvironment.java
......@@ -222,7 +228,6 @@
* gnu/gcj/runtime/NameFinder.java (close): IN, OUT, and PROC can all
be null, check for that case and don't deference it.
>>>>>>> 1.3540
2005-04-22 Sven de Marothy <sven@physto.se>
* java/util/logging/LogManager.java: Reformatted.
......
......@@ -252,6 +252,13 @@ Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals
g_signal_connect_after (G_OBJECT (ptr), "realize",
G_CALLBACK (connect_awt_hook_cb), *gref);
/* Realize the window here so that its frame extents are known now.
That way Window.pack can operate with the accurate insets
returned by the window manager rather than the default
estimates. */
gtk_widget_realize (GTK_WIDGET (ptr));
gdk_threads_leave ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment