[gtk+] dnd: Add g-i annotations for gdk_drop_read_async/finish



commit 14d64eaf95bb153d84232884b066e04f9782e126
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Jan 3 08:18:47 2018 +0100

    dnd: Add g-i annotations for gdk_drop_read_async/finish

 gdk/gdkdnd.c |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index c8d0ba5..b88d83b 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -819,6 +819,17 @@ gdk_drag_context_write_finish (GdkDragContext *context,
   return g_task_propagate_boolean (G_TASK (result), error); 
 }
 
+/**
+ * gdk_drop_read_async:
+ * @context: a #GdkDragContext
+ * @mime_types: (array zero-terminated=1) (element-type utf8):
+ * @io_priority:
+ * @cancellable:
+ * @callback:
+ * @user_data: (closure):
+ *
+ * Since: 3.94
+ */
 void
 gdk_drop_read_async (GdkDragContext      *context,
                      const char         **mime_types,
@@ -846,6 +857,17 @@ gdk_drop_read_async (GdkDragContext      *context,
   gdk_content_formats_unref (formats);
 }
 
+/**
+ * gdk_drop_read_finish:
+ * @context: a #GdkDragContext
+ * @out_mime_type: (out) (type utf8):
+ * @result:
+ * @error:
+ *
+ * Returns: (nullable) (transfer full): the #GInputStream, or %NULL
+ *
+ * Since: 3.94
+ */
 GInputStream *
 gdk_drop_read_finish (GdkDragContext *context,
                       const char    **out_mime_type,


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