Skip to content
Commit 7a0548db authored by Martin Pitt's avatar Martin Pitt
Browse files

Fix handling of unicode for GtkTreeModels

The code previously converted an unicode object into unicode, but in Python 2.X
models actually have to specify 'str' (GTK expects a gchararray). So encode to
UTF-8 instead to get what GTK expects.

Add corresponding test case.
parent 09c21c79
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