[gtk/ebassi/gidocgen: 199/500] lockbutton: Add property annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 199/500] lockbutton: Add property annotations
- Date: Thu, 11 Mar 2021 16:48:08 +0000 (UTC)
commit 26100ad5d1e69d4d9f76da79ce103d18e19e77ad
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]