[gtk/ebassi/gidocgen] editablelabel: Add property annotations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen] editablelabel: Add property annotations
- Date: Thu, 25 Feb 2021 17:24:13 +0000 (UTC)
commit c125fe47fde1fa4b08870ea6d09418a0c579f2c1
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 25 12:22:59 2021 -0500
editablelabel: Add property annotations
Connect properties, getters, and setters with annotations
gtk/gtkeditablelabel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkeditablelabel.c b/gtk/gtkeditablelabel.c
index 15f8527616..860b7f8088 100644
--- a/gtk/gtkeditablelabel.c
+++ b/gtk/gtkeditablelabel.c
@@ -362,7 +362,7 @@ gtk_editable_label_class_init (GtkEditableLabelClass *class)
widget_class->grab_focus = gtk_editable_label_grab_focus;
/**
- * GtkEditableLabel:editing:
+ * GtkEditableLabel:editing: (attributes org.gtk.Property.get=gtk_editable_label_get_editing)
*
* This property is %TRUE while the widget is in edit mode.
*/
@@ -443,7 +443,7 @@ gtk_editable_label_new (const char *str)
}
/**
- * gtk_editable_label_get_editing:
+ * gtk_editable_label_get_editing: (attributes org.gtk.Method.get_property=editing)
* @self: a `GtkEditableLabel`
*
* Returns whether the label is currently in “editing mode”.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]