GtkWindowPeer.java: Remove GTK_WINDOW_DIALOG.

2003-08-22  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
	GTK_WINDOW_DIALOG.  Set GTK_WINDOW_POPUP to 1.

From-SVN: r70688
This commit is contained in:
Thomas Fitzsimmons 2003-08-22 14:34:37 +00:00 committed by Thomas Fitzsimmons
parent 65dbc87090
commit eb2a5f91b2
3 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
2003-08-21 David Daney <ddaney@avtrex.com>
Fix for PR libgcj/12013:

View File

@ -47,8 +47,7 @@ public class GtkWindowPeer extends GtkContainerPeer
implements WindowPeer
{
static protected final int GTK_WINDOW_TOPLEVEL = 0;
static protected final int GTK_WINDOW_DIALOG = 1;
static protected final int GTK_WINDOW_POPUP = 2;
static protected final int GTK_WINDOW_POPUP = 1;
native void create (int type);

View File

@ -119,11 +119,11 @@ JNIEXPORT void JNICALL Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectHooks
gtk_widget_realize (layout);
connect_awt_hook (env, obj, 1, GTK_LAYOUT (layout)->bin_window);
gtk_widget_realize (ptr);
gtk_widget_realize (ptr);
connect_awt_hook (env, obj, 1, GTK_WIDGET (ptr)->window);
gdk_threads_leave ();
}