contentdeserializer: Fix an oversight

The argument passed with string_deserializer must be
a charset name. Passing the mimetype there does not
make sense.
This commit is contained in:
Matthias Clasen 2021-05-01 22:44:41 -04:00
parent 0f49a5068a
commit 7ab8109ef8

View File

@ -931,7 +931,7 @@ init (void)
gdk_content_register_deserializer (mime,
G_TYPE_STRING,
string_deserializer,
mime,
(gpointer) charset,
g_free);
}
gdk_content_register_deserializer ("text/plain",