[gtk/ebassi/gidocgen: 194/501] entry: Add property annotations




commit 0be401859edef3fc471901be46227ebe49db845c
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 25 07:01:43 2021 -0500

    entry: Add property annotations
    
    Connect properties, getters, and setters with annotations

 gtk/gtkentry.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 3389f70a12..06f12c24d9 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -2419,7 +2419,7 @@ gtk_entry_get_has_frame (GtkEntry *entry)
 }
 
 /**
- * gtk_entry_set_alignment:
+ * gtk_entry_set_alignment: (attributes org.gtk.Method.set_property=alignment)
  * @entry: a `GtkEntry`
  * @xalign: The horizontal alignment, from 0 (left) to 1 (right).
  *   Reversed for RTL layouts
@@ -2443,7 +2443,7 @@ gtk_entry_set_alignment (GtkEntry *entry,
 }
 
 /**
- * gtk_entry_get_alignment:
+ * gtk_entry_get_alignment: (attributes org.gtk.Method.get_property=alignment)
  * @entry: a `GtkEntry`
  *
  * Gets the value set by gtk_entry_set_alignment().


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]