[gtk/dnd-gestures-2: 11/14] testdnd2: Fix the text case
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/dnd-gestures-2: 11/14] testdnd2: Fix the text case
- Date: Wed, 8 Jan 2020 21:37:43 +0000 (UTC)
commit b8a37b8a3ef6d369f83c1cd41521fb04f478dd45
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jan 8 15:59:38 2020 -0500
testdnd2: Fix the text case
We must take mime types into account when checking.
tests/testdnd2.c | 1 +
1 file changed, 1 insertion(+)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]