Commit a2708c12 by Kim Ho Committed by Kim Ho

2004-01-19 Kim Ho <kho@redhat.com>

        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (connectJObject): Iterate through the vbox's children to find layout.

From-SVN: r76166
parent 6fdab8cc
2004-01-19 Kim Ho <kho@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(connectJObject): Iterate through the vbox's children to find layout.
2004-01-19 Fernando Nasser <fnasser@redhat.com>
* java/awt/EventQueue.java (invokeAndWait): Use list-aware
......
......@@ -196,7 +196,12 @@ Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectJObject
printf("*** this is not a vbox\n");
}
children = gtk_container_get_children(GTK_CONTAINER(vbox));
layout = children->data;
do
{
layout = children->data;
children = children->next;
}
while (!GTK_IS_LAYOUT (layout) && children != NULL);
if(!GTK_IS_LAYOUT(layout))
{
......
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