[gtk+] State that _add_button functions return a "#GtkButton widget"



commit 205ee834ec8fe2acc37b3e3739159861181efb9a
Author: Christian Dywan <christian twotoasts de>
Date:   Fri Sep 24 18:04:14 2010 +0200

    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 99d00b3..2e8ddad 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 c0a8f37..e031fa2 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
  */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]