2004-03-22 Mike Kestner <mkestner@ximian.com>

* gtk/Window.custom : bring back the DefaultSize prop as a
	Gdk.Size.

svn path=/trunk/gtk-sharp/; revision=24448
This commit is contained in:
Mike Kestner 2004-03-23 04:17:47 +00:00
parent 479c46730f
commit 4562311b91
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-03-22 Mike Kestner <mkestner@ximian.com>
* gtk/Window.custom : bring back the DefaultSize prop as a
Gdk.Size.
2004-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: if no C# compiler found, error out.

View File

@ -91,3 +91,14 @@
result [i] = list [i] as Window;
return result;
}
public Gdk.Size DefaultSize {
get {
return new Gdk.Size (DefaultWidth, DefaultHeight);
}
set {
DefaultWidth = value.Width;
DefaultHeight = value.Height;
}
}