summaryrefslogtreecommitdiff
path: root/tests/testdnd.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-20 15:58:17 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-20 23:22:28 +0100
commitc82378ea578eeed3ea4676443fb761812336f8bb (patch)
tree1e026a72b92276c94dab3cbebb3ba189c70e23c1 /tests/testdnd.c
parent1a70ca75e8128cfa4c1a9225301b42b50bdc17bc (diff)
downloadgtk+-c82378ea578eeed3ea4676443fb761812336f8bb.tar.gz
gdk: Add GType support to GdkContentFormats
This is not used by anything yet, but add it now, so people looking at this new code can make sense of it. Plus, the documentation mentions it, so better have the docs make sense. It will be used once we add support for conversions to GDK and allow doing cipboard/dnd by GValue.
Diffstat (limited to 'tests/testdnd.c')
-rw-r--r--tests/testdnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdnd.c b/tests/testdnd.c
index c3c16dfc58..3fbc0f6f2d 100644
--- a/tests/testdnd.c
+++ b/tests/testdnd.c
@@ -352,7 +352,7 @@ target_drag_drop (GtkWidget *widget,
gtk_image_set_from_pixbuf (GTK_IMAGE (widget), trashcan_closed);
formats = gdk_drag_context_get_formats (context);
- format = gdk_content_formats_match (formats, formats);
+ gdk_content_formats_match (formats, formats, NULL, &format);
if (format)
{
gtk_drag_get_data (widget, context,