[gtk/ebassi/gidocgen: 177/501] scrollbar: Add property annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 177/501] scrollbar: Add property annotations
- Date: Fri, 5 Mar 2021 15:53:31 +0000 (UTC)
commit cde383ce16b2db3a0772b8601d95cac2f07b6f47
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Feb 24 21:58:11 2021 -0500
scrollbar: Add property annotations
Connect properties, getters, and setters with annotations.
gtk/gtkscrollbar.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c
index 9151713bab..a5c15ce90b 100644
--- a/gtk/gtkscrollbar.c
+++ b/gtk/gtkscrollbar.c
@@ -215,7 +215,7 @@ gtk_scrollbar_class_init (GtkScrollbarClass *class)
object_class->dispose = gtk_scrollbar_dispose;
/**
- * GtkScrollbar:adjustment:
+ * GtkScrollbar:adjustment: (attributes org.gtk.Property.get=gtk_scrollbar_get_adjustment
org.gtk.Property.set=gtk_scrollbar_set_adjustment)
*
* The `GtkAdjustment` controlled by this scrollbar.
*/
@@ -299,7 +299,7 @@ gtk_scrollbar_adjustment_value_changed (GtkAdjustment *adjustment,
}
/**
- * gtk_scrollbar_set_adjustment:
+ * gtk_scrollbar_set_adjustment: (attributes org.gtk.Method.set_property=adjustment)
* @self: a `GtkScrollbar`
* @adjustment: (nullable): the adjustment to set
*
@@ -342,7 +342,7 @@ gtk_scrollbar_set_adjustment (GtkScrollbar *self,
}
/**
- * gtk_scrollbar_get_adjustment:
+ * gtk_scrollbar_get_adjustment: (attributes org.gtk.Method.get_property=adjustment)
* @self: a `GtkScrollbar`
*
* Returns the scrollbar's adjustment.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]