Re: Question about subclassing Gtk2::TextBuffer



muppet wrote:
On Nov 4, 2005, at 7:54 AM, Jaap Karssenberg wrote:

Gtk-CRITICAL **: set_table: assertion `buffer->tag_table == NULL' failed at lib/Zim/Components/PageView.pm line 447.

That warning appears to come from the set_table() helper function in gtktextbuffer.c. From what i can tell, they only expect you to set a non-null tag table once.

That you're seeing this assertion implies that you're somehow setting the tag table twice.

Yes, I figured something like that. Problem is I do not set a tag table in my code anywhere. Apperently it gets called twice during construction of the object by Glib::Object::new(). I opened GObject.xs to see if I could find out why, but I'm afraid this is beyond me.

Maybe I should provide a test script, maybe next week.

-- Jaap <pardus cpan>

P.S. I put Zim-0.07 online (http:://zoidberg.student.utwente.nl/zim) which contains a working version of Gtk2::Ex::PathBar - I'll put it on cpan when zim is stable.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]