[gtk/dnd-gestures-2: 168/173] testdnd2: Fix the text case
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/dnd-gestures-2: 168/173] testdnd2: Fix the text case
- Date: Thu, 9 Jan 2020 00:03:03 +0000 (UTC)
commit 5e57b3d07aedce30ee3208b62e3b463deb418b84
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]