Commit d8bd7bbb authored by Yevgen Muntyan's avatar Yevgen Muntyan Committed by Yevgen Muntyan

fixed wrong g_convert_with_fallback() call which caused

2007-04-14  Yevgen Muntyan <muntyan@tamu.edu>

	* gtk/gtkselection.c (selection_get_text_plain): fixed
	wrong g_convert_with_fallback() call which caused
	gtk_selection_data_get_text() return invalid UTF-8 for
	non-ASCII text in text/plain selection (#382824).


svn path=/trunk/; revision=17600
parent bcbebfa1
2007-04-14 Yevgen Muntyan <muntyan@tamu.edu>
* gtk/gtkselection.c (selection_get_text_plain): fixed
wrong g_convert_with_fallback() call which caused
gtk_selection_data_get_text() return invalid UTF-8 for
non-ASCII text in text/plain selection (#382824).
2007-04-12 Jakub Steiner <jimmac@ximian.com>
* gtk/stock-icons/*: update the stock icons to follow the Tango
......
......@@ -1310,7 +1310,7 @@ selection_get_text_plain (GtkSelectionData *selection_data)
{
gchar *tmp = str;
str = g_convert_with_fallback (tmp, len,
charset, "UTF-8",
"UTF-8", charset,
NULL, NULL, &len, &error);
g_free (tmp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment