projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
903afcb
)
textbuffer: Add missing public API documentation.
author
Robert Ancell
<robert.ancell@canonical.com>
Sun, 12 Jan 2020 23:07:15 +0000
(12:07 +1300)
committer
Robert Ancell
<robert.ancell@canonical.com>
Sun, 12 Jan 2020 23:19:43 +0000
(12:19 +1300)
This API was added in
a52757874ee
.
gtk/gtktextbuffer.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextbuffer.c
b/gtk/gtktextbuffer.c
index 5ec18f7c5ee1c66977fccfca695245f38842e2f0..8bf2d50356874b0aeb9e008587055e243f0db351 100644
(file)
--- 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)
{