From b68542269f32b9317e0005684e7d0c9b041bf30d Mon Sep 17 00:00:00 2001 From: Lee Mallabone Date: Thu, 27 Mar 2003 19:15:04 +0000 Subject: [PATCH] Add a default zero-arg constructor for Gtk.Viewport. svn path=/trunk/gtk-sharp/; revision=12869 --- ChangeLog | 5 +++++ api/gtk-api.xml | 2 +- gtk/Viewport.custom | 6 ++++++ sources/Gtk.metadata | 9 +-------- 4 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 gtk/Viewport.custom diff --git a/ChangeLog b/ChangeLog index 939c14f25..372b91e19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-03-27 Lee Mallabone + + * api/gtk-api.xml, sources/Gtk.metadata, gtk/Viewport.custom: + Add default constructor to Viewport. + 2003-03-25 Lee Mallabone * api/gtk-api.xml: Allow parameters in TreeView.ScrollToCell to be null. diff --git a/api/gtk-api.xml b/api/gtk-api.xml index 4b2a544e5..eac46c32d 100644 --- a/api/gtk-api.xml +++ b/api/gtk-api.xml @@ -8711,7 +8711,7 @@ - + diff --git a/gtk/Viewport.custom b/gtk/Viewport.custom new file mode 100644 index 000000000..83dbd54d6 --- /dev/null +++ b/gtk/Viewport.custom @@ -0,0 +1,6 @@ +// Customizations for Viewport. +// Author: Lee Mallabone + + // Make a default constructor that wraps typical usage. + public Viewport (): this (null, null) { + } diff --git a/sources/Gtk.metadata b/sources/Gtk.metadata index 41fb89096..5078ec4cd 100644 --- a/sources/Gtk.metadata +++ b/sources/Gtk.metadata @@ -1578,14 +1578,7 @@ - - - disabledefaultconstructor - 1 - - - - +