diff --git a/ChangeLog b/ChangeLog index 80dc4e410..0b6735605 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-03-22 Mike Kestner + + * gtk/Window.custom : bring back the DefaultSize prop as a + Gdk.Size. + 2004-03-21 Gonzalo Paniagua Javier * configure.in: if no C# compiler found, error out. diff --git a/gtk/Window.custom b/gtk/Window.custom index fb5aa7b58..338a12b74 100755 --- a/gtk/Window.custom +++ b/gtk/Window.custom @@ -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; + } + } +