Skip to content
  • Martin Pitt's avatar
    Fix handling of unicode for GtkTreeModels · 7a0548db
    Martin Pitt authored
    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.
    7a0548db