Gtk::TextBuffer::set_text() segfaulting
- From: Joe <sharperguy bluebottle com>
- To: gtkmm-list gnome org
- Subject: Gtk::TextBuffer::set_text() segfaulting
- Date: Fri, 22 Feb 2008 20:37:13 +0000
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]