projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
187a701
)
testdnd2: Fix the text case
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 8 Jan 2020 20:59:38 +0000
(15:59 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 8 Jan 2020 23:48:22 +0000
(18:48 -0500)
We must take mime types into account when checking.
tests/testdnd2.c
patch
|
blob
|
history
diff --git
a/tests/testdnd2.c
b/tests/testdnd2.c
index a3b2917b8ade84f126fd412f37119fa2e511eabb..b601ad6bcb25cf44c654b81f2c2ce9247a27808b 100644
(file)
--- 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);