When calling the "insert_with_tags" method of a gtk.TextBuffer I am
getting errors along the lines of 
        Gtk-CRITICAL **: file gtktextbuffer.c: line 557
        (gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text,
        len, NULL)' failed

I checked Bugzilla and there appears to be no open bugs relating to the
gtktextbuffer. By the looks of what appears in the text buffer, the
string to be is displayed is not nul-terminated, which the error message
above seems to confirm. I tried to hack around the problem by adding my
own nul-character to the end of the string, but the bug is too smart for
that!

Shall I go ahead an submit a bug into Bugzilla, or should I try
something else first?

-- 
Michael JasonSmith                                   http://www.ldots.org/

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to