[gtk/matthiasc/for-master] contentdeserializer: Fix an oversight
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] contentdeserializer: Fix an oversight
- Date: Sun, 2 May 2021 02:46:33 +0000 (UTC)
commit 7ab8109ef89782aab051756b986ae922c161e542
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 1 22:44:41 2021 -0400
contentdeserializer: Fix an oversight
The argument passed with string_deserializer must be
a charset name. Passing the mimetype there does not
make sense.
gdk/gdkcontentdeserializer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/gdkcontentdeserializer.c b/gdk/gdkcontentdeserializer.c
index 39ebed9fd2..18cf043790 100644
--- a/gdk/gdkcontentdeserializer.c
+++ b/gdk/gdkcontentdeserializer.c
@@ -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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]