[gtk/ebassi/gidocgen: 119/471] contentprovider: Add property annotations




commit b45ba75fc3c83fa3c1bf78ea14537663271986d6
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Feb 24 09:11:23 2021 -0500

    contentprovider: Add property annotations
    
    Connect properties, getters, and setters with annotations.

 gdk/gdkcontentprovider.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk/gdkcontentprovider.c b/gdk/gdkcontentprovider.c
index 5e7b2f8818..b01cb43e93 100644
--- a/gdk/gdkcontentprovider.c
+++ b/gdk/gdkcontentprovider.c
@@ -168,7 +168,7 @@ gdk_content_provider_class_init (GdkContentProviderClass *class)
   class->get_value = gdk_content_provider_real_get_value;
 
   /**
-   * GdkContentProvider:formats:
+   * GdkContentProvider:formats: (attributes org.gtk.Property.get=gdk_content_provider_ref_formats)
    *
    * The possible formats that the provider can provide its data in.
    */
@@ -182,7 +182,7 @@ gdk_content_provider_class_init (GdkContentProviderClass *class)
                         G_PARAM_EXPLICIT_NOTIFY);
 
   /**
-   * GdkContentProvider:storable-formats:
+   * GdkContentProvider:storable-formats: (attributes 
org.gtk.Property.get=gdk_content_provider_ref_storable_formats)
    *
    * The subset of formats that clipboard managers should store this provider's data in.
    */
@@ -217,7 +217,7 @@ gdk_content_provider_init (GdkContentProvider *provider)
 }
 
 /**
- * gdk_content_provider_ref_formats:
+ * gdk_content_provider_ref_formats: (attributes org.gtk.Method.get_property=formats)
  * @provider: a #GdkContentProvider
  *
  * Gets the formats that the provider can provide its current contents in.
@@ -233,7 +233,7 @@ gdk_content_provider_ref_formats (GdkContentProvider *provider)
 }
 
 /**
- * gdk_content_provider_ref_storable_formats:
+ * gdk_content_provider_ref_storable_formats: (attributes org.gtk.Method.get_property=storable-formats)
  * @provider: a #GdkContentProvider
  *
  * Gets the formats that the provider suggests other applications to store


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