forked from AuroraMiddleware/gtk
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:
parent
0f49a5068a
commit
7ab8109ef8
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user