[gimp] gimpwidget: Correct gtk-doc docs wrt GtkHBox
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] gimpwidget: Correct gtk-doc docs wrt GtkHBox
- Date: Fri, 8 May 2020 12:18:32 +0000 (UTC)
commit a8de8281952afeb6d05c17f6dcd7a5691c2f3cb3
Author: Niels De Graef <nielsdegraef gmail com>
Date: Fri May 8 14:17:18 2020 +0200
gimpwidget: Correct gtk-doc docs wrt GtkHBox
GtkHBox is a deprecated version of GtkBox, which we don't even use
anymore. It confuses the gtk-doc a build though, so let's fix it to get
rid of another warning.
libgimpwidgets/gimpwidgets.c | 2 +-
libgimpwidgets/gimpwidgets.h | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgimpwidgets/gimpwidgets.c b/libgimpwidgets/gimpwidgets.c
index 74d8eddd58..106b06bdc7 100644
--- a/libgimpwidgets/gimpwidgets.c
+++ b/libgimpwidgets/gimpwidgets.c
@@ -222,7 +222,7 @@ gimp_random_seed_update (GtkWidget *widget,
* Creates a widget that allows the user to control how the random number
* generator is initialized.
*
- * Returns: (transfer full): A #GtkHBox containing a #GtkSpinButton for
+ * Returns: (transfer full): A #GtkBox containing a #GtkSpinButton for
* the seed and a #GtkButton for setting a random seed.
**/
GtkWidget *
diff --git a/libgimpwidgets/gimpwidgets.h b/libgimpwidgets/gimpwidgets.h
index a31e072b74..d0f3421def 100644
--- a/libgimpwidgets/gimpwidgets.h
+++ b/libgimpwidgets/gimpwidgets.h
@@ -112,7 +112,7 @@ void gimp_int_radio_group_set_active (GtkRadioButton *radio_button,
/**
* GIMP_RANDOM_SEED_SPINBUTTON:
- * @hbox: The #GtkHBox returned by gimp_random_seed_new().
+ * @hbox: The #GtkBox returned by gimp_random_seed_new().
*
* Returns: the random_seed's #GtkSpinButton.
**/
@@ -121,7 +121,7 @@ void gimp_int_radio_group_set_active (GtkRadioButton *radio_button,
/**
* GIMP_RANDOM_SEED_SPINBUTTON_ADJ:
- * @hbox: The #GtkHBox returned by gimp_random_seed_new().
+ * @hbox: The #GtkBox returned by gimp_random_seed_new().
*
* Returns: the #GtkAdjustment of the random_seed's #GtkSpinButton.
**/
@@ -131,7 +131,7 @@ void gimp_int_radio_group_set_active (GtkRadioButton *radio_button,
/**
* GIMP_RANDOM_SEED_TOGGLE:
- * @hbox: The #GtkHBox returned by gimp_random_seed_new().
+ * @hbox: The #GtkBox returned by gimp_random_seed_new().
*
* Returns: the random_seed's #GtkToggleButton.
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]