[gtk/ebassi/gidocgen: 166/465] lockbutton: Add property annotations




commit 111bf3c83acf01af5c86beafb1b8571265537854
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Feb 25 12:23:12 2021 -0500

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

 gtk/gtklockbutton.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtklockbutton.c b/gtk/gtklockbutton.c
index 411e383e41..55196a4b48 100644
--- a/gtk/gtklockbutton.c
+++ b/gtk/gtklockbutton.c
@@ -265,7 +265,7 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
   button_class->clicked = gtk_lock_button_clicked;
 
   /**
-   * GtkLockButton:permission:
+   * GtkLockButton:permission: (attributes org.gtk.Property.get=gtk_lock_button_get_permission 
org.gtk.Property.set=gtk_lock_button_set_permission)
    *
    * The `GPermission object controlling this button.
    */
@@ -530,7 +530,7 @@ gtk_lock_button_new (GPermission *permission)
 }
 
 /**
- * gtk_lock_button_get_permission:
+ * gtk_lock_button_get_permission: (attributes org.gtk.Method.get_property=permission)
  * @button: a `GtkLockButton`
  *
  * Obtains the `GPermission` object that controls @button.
@@ -546,7 +546,7 @@ gtk_lock_button_get_permission (GtkLockButton *button)
 }
 
 /**
- * gtk_lock_button_set_permission:
+ * gtk_lock_button_set_permission: (attributes org.gtk.Method.set_property=permission)
  * @button: a `GtkLockButton`
  * @permission: (allow-none): a `GPermission` object, or %NULL
  *


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