Gtk::TextBuffer::set_text() segfaulting



Ok, so the TextBuffer is going into a Gtk::TextView so is declared like:

			  Glib::RefPtr<Gtk::TextBuffer>	buffer;

It seems when I run buffer->set_text() and pass either and std::string
or a constant char array (ie put something like "cheese" into it) it
causes a segmentation fault.

The TextBuffer is in the TextView when I try to set the text.

Anyone know what could cause this?

----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1



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