summaryrefslogtreecommitdiff
path: root/gdk/gdkdrop.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-01-02 13:05:29 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-01-08 18:48:20 -0500
commita76b187a5b5b1eb05622c8402afb9a3b383f5315 (patch)
tree9ae5ce74868abc44fafd2396bf1e09cb6d5f503e /gdk/gdkdrop.h
parent45679d7bc32833920a286777301fbb38f764cba0 (diff)
downloadgtk+-a76b187a5b5b1eb05622c8402afb9a3b383f5315.tar.gz
drop: Add a convenience api
This is a question that drag-drop handlers frequently need to answer, so make it easy.
Diffstat (limited to 'gdk/gdkdrop.h')
-rw-r--r--gdk/gdkdrop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkdrop.h b/gdk/gdkdrop.h
index db5acd13e9..6e29864293 100644
--- a/gdk/gdkdrop.h
+++ b/gdk/gdkdrop.h
@@ -92,6 +92,9 @@ char * gdk_drop_read_text_finish (GdkDrop
GAsyncResult *result,
GError **error);
+GDK_AVAILABLE_IN_ALL
+gboolean gdk_drop_has_value (GdkDrop *self,
+ GType type);
G_END_DECLS