Question about subclassing Gtk2::TextBuffer



Greetings,

I overloaded Gtk2::TextBuffer to add some more "high level" methods for dealing with the parse trees I use in zim, as well as enforcing edit modes and adding an undo-stack. I just followed Glib::Object::Subclass using INIT_INSTANCE etc..

Now I get this warning every time a new buffer object is created:

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

( The line number reported in the error is the line where I call the constructor for my overloading class )

It doesn't seem to affect usage of the class but it can be rather annoying when running my program from the commandline.

Any suggestions on turning off or avoiding this waring ?

-- Jaap <pardus cpan org>



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