contentprovider: Add property annotations

Connect properties, getters, and setters with annotations.
This commit is contained in:
Matthias Clasen 2021-02-24 09:11:23 -05:00 committed by Emmanuele Bassi
parent c51585bab1
commit 11022fc485

View File

@ -168,7 +168,7 @@ gdk_content_provider_class_init (GdkContentProviderClass *class)
class->get_value = gdk_content_provider_real_get_value; 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. * 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); 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. * 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 * @provider: a #GdkContentProvider
* *
* Gets the formats that the provider can provide its current contents in. * 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 * @provider: a #GdkContentProvider
* *
* Gets the formats that the provider suggests other applications to store * Gets the formats that the provider suggests other applications to store