]> Pileus Git - ~andy/gtk/commitdiff
State that _add_button functions return a "#GtkButton widget"
authorChristian Dywan <christian@twotoasts.de>
Fri, 24 Sep 2010 16:04:14 +0000 (18:04 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Wed, 26 Jan 2011 09:33:49 +0000 (10:33 +0100)
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=586635
gtk/gtkdialog.c
gtk/gtkinfobar.c

index 99d00b33a37c41c02243f7fd9c1b1961725e5f2c..2e8ddadf6dbc5d20f884ce32a3e6c23481ec9908 100644 (file)
@@ -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,
index c0a8f37a2054120f52d75343b9ec0df0d6298dc1..e031fa21a2c6d64026397b5ea8ac79d4b5d43a02 100644 (file)
@@ -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
  */