Question about subclassing Gtk2::TextBuffer
- From: Jaap Karssenberg <j g karssenberg student utwente nl>
- To: "gtk-perl-list gnome org" <gtk-perl-list gnome org>
- Subject: Question about subclassing Gtk2::TextBuffer
- Date: Fri, 04 Nov 2005 13:54:08 +0100
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]