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

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to