From 4562311b912b290d67f5aceb02e16999a9566b43 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Tue, 23 Mar 2004 04:17:47 +0000 Subject: [PATCH] 2004-03-22 Mike Kestner * gtk/Window.custom : bring back the DefaultSize prop as a Gdk.Size. svn path=/trunk/gtk-sharp/; revision=24448 --- ChangeLog | 5 +++++ gtk/Window.custom | 11 +++++++++++ 2 files changed, 16 insertions(+) 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; + } + } +