mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-04 20:01:21 +08:00
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:
parent
65dbc87090
commit
eb2a5f91b2
@ -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:
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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 ();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user