From 205ee834ec8fe2acc37b3e3739159861181efb9a Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 24 Sep 2010 18:04:14 +0200 Subject: [PATCH] State that _add_button functions return a "#GtkButton widget" Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=586635 --- gtk/gtkdialog.c | 2 +- gtk/gtkinfobar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index 99d00b33a..2e8ddadf6 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -765,7 +765,7 @@ gtk_dialog_add_action_widget (GtkDialog *dialog, * appended to the end of the dialog's action area. The button widget is * returned, but usually you don't need it. * - * Return value: (transfer none): the button widget that was added + * Return value: (transfer none): the #GtkButton widget that was added **/ GtkWidget* gtk_dialog_add_button (GtkDialog *dialog, diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c index c0a8f37a2..e031fa21a 100644 --- a/gtk/gtkinfobar.c +++ b/gtk/gtkinfobar.c @@ -688,7 +688,7 @@ gtk_info_bar_get_content_area (GtkInfoBar *info_bar) * to the end of the info bars's action area. The button widget is * returned, but usually you don't need it. * - * Returns: (transfer none): the button widget that was added + * Returns: (transfer none): the #GtkButton widget that was added * * Since: 2.18 */ -- 2.43.2