GtkDialogPeer.java (create): Add width and height arguments to GtkWindowPeer.create method call.

2003-09-02  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
	and height arguments to GtkWindowPeer.create method call.
	* gnu/java/awt/peer/gtk/GtkWindowPeer.java
	(create(int,int,int)): New method.
	(create(int)): Add call to new create method.
	(create()): Add width and height arguments to create method
	call.
	(GtkWindowPeer): Remove call to setBounds.
	* java/awt/Frame.java (Frame(String)): Initialize visible field
	to false.
	(Frame(GraphicsConfiguration)): Likewise.
	(Frame(String,GraphicsConfiguration)): Likewise.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
	Add width and height parameters.  Call
	gtk_window_set_default_size.
	(connectHooks): Remove unused name variable.
	(static setBounds): Call gtk_window_resize not
	gtk_widget_set_usize.
	(setBounds): Remove unused nchildren variable.

From-SVN: r71007
This commit is contained in:
Thomas Fitzsimmons 2003-09-02 23:04:05 +00:00 committed by Thomas Fitzsimmons
parent f0e9957ac9
commit 48c2d88a10
5 changed files with 47 additions and 24 deletions

View file

@ -237,12 +237,15 @@ Frame(String title)
{
super();
this.title = title;
// Top-level frames are initially invisible.
visible = false;
}
public
Frame(GraphicsConfiguration gc)
{
super(gc);
visible = false;
}
public
@ -250,6 +253,7 @@ Frame(String title, GraphicsConfiguration gc)
{
super(gc);
setTitle(title);
visible = false;
}
/*************************************************************************/