diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-01-08 15:59:38 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-01-08 18:48:22 -0500 |
commit | 5e57b3d07aedce30ee3208b62e3b463deb418b84 (patch) | |
tree | 82f02463e1e1e190bfc5050bc2b272410629c0f7 /tests/testdnd2.c | |
parent | 187a701a9926c5ae6010c81462d46bc59a8f65d6 (diff) | |
download | gtk+-5e57b3d07aedce30ee3208b62e3b463deb418b84.tar.gz |
testdnd2: Fix the text case
We must take mime types into account when checking.
Diffstat (limited to 'tests/testdnd2.c')
-rw-r--r-- | tests/testdnd2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testdnd2.c b/tests/testdnd2.c index a3b2917b8a..b601ad6bcb 100644 --- a/tests/testdnd2.c +++ b/tests/testdnd2.c @@ -221,6 +221,7 @@ get_data (const char *mimetype, gboolean want_text; formats = gdk_content_formats_new_for_gtype (G_TYPE_STRING); + formats = gdk_content_formats_union_serialize_mime_types (formats); want_text = gdk_content_formats_contain_mime_type (formats, mimetype); gdk_content_formats_unref (formats); |