Re: Goocanvasmm
- From: Murray Cumming <murrayc murrayc com>
- To: Gennaro Bellizio <genbell tiscali it>
- Cc: gtkmm-list gnome org
- Subject: Re: Goocanvasmm
- Date: Wed, 20 Feb 2008 18:00:41 +0100
On Wed, 2008-02-20 at 12:00 +0100, Gennaro Bellizio wrote:
> In the meanwhile the following patch to goocanvas/src/textmodel.ccg
> should be useful to get Goocanvas::TextModel constructor to work
> better.
>
> svn diff textmodel.ccg
> Index: textmodel.ccg
> ===================================================================
> --- textmodel.ccg (revisione 1356)
> +++ textmodel.ccg (copia locale)
> @@ -25,7 +25,7 @@
>
> TextModel::TextModel(const Glib::ustring& string, double x, double y,
> double width, Gtk::AnchorType anchor)
> :
> - _CONSTRUCT("string", string.c_str(), "x", x, "y", y, "width",
> width, "anchor", (GtkAnchorType)anchor)
> + _CONSTRUCT("text", string.c_str(), "x", x, "y", y, "width", width,
> "anchor", (GtkAnchorType)anchor)
> {
> }
I have committed this to svn. Thanks. In future, please add patches in
bugzilla, with a ChangeLog entry. That way we are less likely to forget
about them.
I have not used the *Model classes yet myself, though I probably should.
So you might find (and fix) more small problems like this.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]