diff --git a/ChangeLog b/ChangeLog index dda1ded98..94a6da395 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-12-03 Mike Kestner + + * gtk/Dialog.custom : correct return value for AddButton overload. + [Fixes #70121] + 2004-12-03 Mike Kestner * gtk/Gtk.metadata : mark accel_group null_ok on ImageMenuItem ctor. diff --git a/doc/en/Gtk/Dialog.xml b/doc/en/Gtk/Dialog.xml index 2ffdbdb12..79de47aff 100644 --- a/doc/en/Gtk/Dialog.xml +++ b/doc/en/Gtk/Dialog.xml @@ -455,10 +455,10 @@ namespace GtkDialogSample - + Method - System.Void + Gtk.Widget @@ -467,7 +467,8 @@ namespace GtkDialogSample Adds a new response button to the dialog. a , text for the button - a , the numeric response code associated with the button. + a , the numeric response code emitted when the button is pressed. + a representing the button added. @@ -531,4 +532,4 @@ namespace GtkDialogSample - \ No newline at end of file + diff --git a/gtk/Dialog.custom b/gtk/Dialog.custom index 55e5ae6b7..89f8a2fc3 100644 --- a/gtk/Dialog.custom +++ b/gtk/Dialog.custom @@ -65,9 +65,9 @@ public void AddActionWidget (Widget child, ResponseType response) this.AddActionWidget (child, (int) response); } -public void AddButton (string button_text, ResponseType response) +public Gtk.Widget AddButton (string button_text, ResponseType response) { - this.AddButton (button_text, (int) response); + return this.AddButton (button_text, (int) response); } public void Respond (ResponseType response)