mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
testdnd2: Fix the text case
We must take mime types into account when checking.
This commit is contained in:
parent
187a701a99
commit
5e57b3d07a
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user