summaryrefslogtreecommitdiff
path: root/gtk/gtktextbuffer.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2020-01-13 12:07:15 +1300
committerRobert Ancell <robert.ancell@canonical.com>2020-01-13 12:19:43 +1300
commitb2ca94793403dfb99b725809d96f2dae0c17ae63 (patch)
treecce389040e6d2078d27af283adf70ef67e9155e7 /gtk/gtktextbuffer.c
parent903afcbddd6b3fa6c8fce99fabe8d52fdfc5d258 (diff)
downloadgtk+-b2ca94793403dfb99b725809d96f2dae0c17ae63.tar.gz
textbuffer: Add missing public API documentation.
This API was added in a52757874ee.
Diffstat (limited to 'gtk/gtktextbuffer.c')
-rw-r--r--gtk/gtktextbuffer.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index 5ec18f7c5e..8bf2d50356 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -4077,6 +4077,14 @@ cut_or_copy (GtkTextBuffer *buffer,
}
}
+/**
+ * gtk_text_buffer_get_selection_content:
+ * @buffer: a #GtkTextBuffer
+ *
+ * Get a content provider for this buffer.
+ *
+ * Returns: (transfer full): a new #GdkContentProvider.
+ **/
GdkContentProvider *
gtk_text_buffer_get_selection_content (GtkTextBuffer *buffer)
{