[gtk/ebassi/gidocgen: 171/471] editablelabel: Add property annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 171/471] editablelabel: Add property annotations
- Date: Mon, 8 Mar 2021 18:23:18 +0000 (UTC)
commit 2f125ab3de1999aed8df113e673c7b194c227da2
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]