Pass the correct data to gdk_content_register_serializer()
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sat, 16 Jun 2018 18:23:56 +0000 (18:23 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Sat, 16 Jun 2018 18:23:56 +0000 (18:23 +0000)
commit6e085b3bf136997e27f69ab7eb45fdf83037f536
tree6e9ad581db8d9fb09eb1f65c81141d40698d9ad8
parent6bf88d90f3df03ac2e5cb664ccf521785431aa34
Pass the correct data to gdk_content_register_serializer()

The argument is eventually passed to g_conv(), so it should
be the charset, not the mime/type. Without this change the
contentype converter will fail to convert UTF-8 strings to, say,
CP-1251 later on.
gdk/gdkcontentserializer.c