[gtk/matthiasc/for-master: 17/18] textbuffer: Elaborate docs




commit a799c86edbb5cac0efd86d78e54ede6ee5be5d3c
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Sep 27 11:24:18 2020 -0400

    textbuffer: Elaborate docs
    
    Explain a bit more what gtk_text_buffer_get_content_provider()
    is for.
    
    Fixes: #3202

 gtk/gtktextbuffer.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index 18861d301c..121813c54e 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -4089,7 +4089,9 @@ cut_or_copy (GtkTextBuffer *buffer,
  * gtk_text_buffer_get_selection_content:
  * @buffer: a #GtkTextBuffer
  *
- * Get a content provider for this buffer.
+ * Get a content provider for this buffer. It can be
+ * used to make the content of @buffer available in a
+ * #GdkClipboard, see gdk_clipboard_set_content().
  *
  * Returns: (transfer full): a new #GdkContentProvider.
  **/


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