[gtk/ebassi/gidocgen: 172/481] entry: Add property annotations
- From: Emmanuele Bassi <ebassi src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk/ebassi/gidocgen: 172/481] entry: Add property annotations
 
- Date: Sun,  7 Mar 2021 23:55:07 +0000 (UTC)
 
commit c9ea62543bb6538bffd89c787b2f66349eb3e5e4
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]