summaryrefslogtreecommitdiff
path: root/gdk/gdkdrop.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-05-08 00:47:26 +0200
committerBenjamin Otte <otte@redhat.com>2018-06-18 23:49:19 +0200
commit6919d8c532f6db48d320e348d55934a537547f01 (patch)
tree3d3d340a67de3dfec6d31548dd64a66b52795445 /gdk/gdkdrop.h
parentf247d268d4aa02c945ed7297080b685d9df79464 (diff)
downloadgtk+-6919d8c532f6db48d320e348d55934a537547f01.tar.gz
drop: Move gdk_drop_read_async() to GdkDrop class
Diffstat (limited to 'gdk/gdkdrop.h')
-rw-r--r--gdk/gdkdrop.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gdk/gdkdrop.h b/gdk/gdkdrop.h
index e8a5423e91..b1b4488d6b 100644
--- a/gdk/gdkdrop.h
+++ b/gdk/gdkdrop.h
@@ -46,6 +46,19 @@ GdkDevice * gdk_drop_get_device (GdkDrop
GDK_AVAILABLE_IN_ALL
GdkContentFormats * gdk_drop_get_formats (GdkDrop *self);
+GDK_AVAILABLE_IN_ALL
+void gdk_drop_read_async (GdkDrop *self,
+ const char **mime_types,
+ int io_priority,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+GDK_AVAILABLE_IN_ALL
+GInputStream * gdk_drop_read_finish (GdkDrop *self,
+ const char **out_mime_type,
+ GAsyncResult *result,
+ GError **error);
+
G_END_DECLS
#endif /* __GDK_DROP_H__ */