summaryrefslogtreecommitdiff
path: root/gdk/gdkcontentprovider.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-04 16:18:24 -0800
committerMatthias Clasen <mclasen@redhat.com>2017-12-04 16:28:33 -0800
commit6f00c1b6268cb2ac573b845ee881832b5edc4a0a (patch)
treee3d4ec1531143bb7e056f9c755e8672f2a8fdf55 /gdk/gdkcontentprovider.c
parentddcd687617a54328eac49103723a773d5c624ada (diff)
downloadgtk+-6f00c1b6268cb2ac573b845ee881832b5edc4a0a.tar.gz
Expand the docs
Cross-reference the serializers.
Diffstat (limited to 'gdk/gdkcontentprovider.c')
-rw-r--r--gdk/gdkcontentprovider.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/gdk/gdkcontentprovider.c b/gdk/gdkcontentprovider.c
index d15eb49a55..15ffb93931 100644
--- a/gdk/gdkcontentprovider.c
+++ b/gdk/gdkcontentprovider.c
@@ -28,9 +28,17 @@
* SECTION:gdkcontentprovider
* @Short_description: Provides content for data transfer between applications
* @Title: GdkContentProvider
+ * @See_also: #GdkContentSerializer, #GdkContentDeserializer
*
* A GdkContentProvider is used to provide content for the clipboard in
* a number of formats.
+ *
+ * To create a GdkContentProvider, use gdk_content_provider_new_for_value() or
+ * gdk_content_provider_new_for_bytes().
+ *
+ * GDK knows how to handle common text and image formats out-of-the-box. See
+ * #GdkContentSerializer and #GdkContentDeserializer if you want to add support
+ * for application-specific data formats.
*/
typedef struct _GdkContentProviderPrivate GdkContentProviderPrivate;
@@ -254,7 +262,7 @@ gdk_content_provider_ref_storable_formats (GdkContentProvider *provider)
}
/**
- * gdk_content_provider_content_changeD:
+ * gdk_content_provider_content_changed:
* @provider: a #GdkContentProvider
*
* Emits the #GdkContentProvider::contents-changed signal.