diff options
author | Benjamin Otte <otte@redhat.com> | 2017-11-20 04:42:43 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-11-20 23:15:11 +0100 |
commit | 1a70ca75e8128cfa4c1a9225301b42b50bdc17bc (patch) | |
tree | 2022982aeb22f1384199d7c90cea2613d80e8671 /tests/testdnd.c | |
parent | fc2ce5a9254c7678eaadde35297b8fd90c869bd4 (diff) | |
download | gtk+-1a70ca75e8128cfa4c1a9225301b42b50bdc17bc.tar.gz |
gdk: Sanitize GdkContentFormats API
Make sure the API reflects the idea that GdkContentFormats is a set
containing mime types. In particular, treat the object itself as a
plural - it's named content format`S' after all - and therefor use
the correct verb form.
Also make GdkContentFormats keep an array instead of a list, now that
it's immutable.
Diffstat (limited to 'tests/testdnd.c')
-rw-r--r-- | tests/testdnd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdnd.c b/tests/testdnd.c index 934fbe554d..c3c16dfc58 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_intersects (formats, formats); + format = gdk_content_formats_match (formats, formats); if (format) { gtk_drag_get_data (widget, context, |