Commit 11eab60f authored by Emmanuele Bassi's avatar Emmanuele Bassi

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.
parent f30b4ba2
......@@ -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
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment