Re: [gnomemm] Gnome::Canvas::Text::property_attributes() problem
- From: "Murray Cumming" <murrayc murrayc com>
- To: "_janus_ katamail com" <_janus_ katamail com>
- Cc: gnomemm-list gnome org
- Subject: Re: [gnomemm] Gnome::Canvas::Text::property_attributes() problem
- Date: Mon, 30 Aug 2004 12:46:11 +0200 (CEST)
> 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
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]