Re: Gnome::Canvas::Text::property_attributes() problem
"Murray Cumming" <[email protected]> Mon, 30 Aug 2004 12:46:11 +0200 (CEST)
| Newsgroups | gmane.comp.gnome.gnomemm |
|---|---|
| Message-ID | <[email protected]> |
> Hi everybody, > > I'm using gtkmm 2.2.9, gnomecanvasmm 2.0.1 and pangomm 2.2.9, here is a > piece of my code: > > Gnome::Canvas::Text *attribtext; > gunichar x; > Glib::ustring markedutext = "<i>test</i>", s; > Pango::AttrList palx(markeduptext, 0, s, x); > attribtext->property_text() = s; > attribtext->property_attributes() = palx; > > The problem is that > attribtext->property_attributes() = palx; > causes randomly segmentation faults. > Am i doing any mistake or is it a bug? > Thx, A simple test case might allow valgrind or gdb to show the problem. Murray Cumming [email protected] www.murrayc.com www.openismus.com