mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 23:55:18 +08:00
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
This commit is contained in:
parent
84e0bcb8c5
commit
817b4ef432
@ -1,3 +1,9 @@
|
||||
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 ();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user