From: Matthias Clasen Date: Wed, 8 Jan 2020 20:59:38 +0000 (-0500) Subject: testdnd2: Fix the text case X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~354^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5e57b3d07aedce30ee3208b62e3b463deb418b84;p=gtk4.git testdnd2: Fix the text case We must take mime types into account when checking. --- 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);