summaryrefslogtreecommitdiff
path: root/gtk/gtkscalebutton.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-11-30 14:09:19 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2015-11-30 14:09:19 +0000
commit11eab60f4312382b276618c59b23f360d2ad3f88 (patch)
treec1821a3a229793023f510eaf5a7866b70ef7f0d1 /gtk/gtkscalebutton.c
parentf30b4ba22e309f3bfdde19aa5f149df9f5ac5f6d (diff)
downloadgtk+-11eab60f4312382b276618c59b23f360d2ad3f88.tar.gz
scalebutton: Annotate the return type
Instead of just listing the return type of get_plus_button() and get_minus_button() in the documentation, we can use the (type) annotation to ensure that the introspection data reflects the actual type of the returned widget.
Diffstat (limited to 'gtk/gtkscalebutton.c')
-rw-r--r--gtk/gtkscalebutton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c
index c0ee1c03ba..4b7040f39f 100644
--- a/gtk/gtkscalebutton.c
+++ b/gtk/gtkscalebutton.c
@@ -670,7 +670,7 @@ gtk_scale_button_set_adjustment (GtkScaleButton *button,
*
* Retrieves the plus button of the #GtkScaleButton.
*
- * Returns: (transfer none): the plus button of the #GtkScaleButton as a #GtkButton
+ * Returns: (transfer none) (type Gtk.Button): the plus button of the #GtkScaleButton as a #GtkButton
*
* Since: 2.14
*/
@@ -688,7 +688,7 @@ gtk_scale_button_get_plus_button (GtkScaleButton *button)
*
* Retrieves the minus button of the #GtkScaleButton.
*
- * Returns: (transfer none): the minus button of the #GtkScaleButton as a #GtkButton
+ * Returns: (transfer none) (type Gtk.Button): the minus button of the #GtkScaleButton as a #GtkButton
*
* Since: 2.14
*/