Re: Build break with latest GTK+ 3
- From: Murray Cumming <murrayc murrayc com>
- To: Damon Chaplin <damon karuna eclipse co uk>
- Cc: goocanvas <goocanvas-list gnome org>, Benjamin Otte <otte gnome org>
- Subject: Re: Build break with latest GTK+ 3
- Date: Mon, 06 Sep 2010 11:10:29 +0200
Now the build is broken because GtkAnchorType has been removed, because
it is not used in GTK+:
goocanvas uses it in several places. For instance:
1. It is used as a GooCanvasText property, and in the _new() function,
to specify the horizontal and vertical alignment:
goo_canvas_text_new (GooCanvasItem *parent,
const char *string,
gdouble x,
gdouble y,
gdouble width,
GtkAnchorType anchor,
...)
3. GooCanvasWidget also uses it for alignment:
http://library.gnome.org/devel/goocanvas/stable/GooCanvasWidget.html#GooCanvasWidget--anchor
2. It is used for the GooCanvas anchor property, meaning "Where to place
the canvas when it is smaller than the widget's allocated area."
I'm not sure how best to fix this. For text alignment, GtkLabel would
just align itself, using gtk_misc_set_alignment, though that's not quite
the same:
http://library.gnome.org/devel/gtk/unstable/GtkMisc.html#gtk-misc-set-alignment
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]