Canvas Problem



After I upgraded from gnome 1.0.9 to 1.0.40 I discovered that I
couldn't use Gnome Canvas Text Items any more : the text doesn't appear
on screen. In other words, code like

(...)
root = gnome_canvas_root(GNOME_CANVAS(canvas));
item = gnome_canvas_item_new (root, gnome_canvas_text_get_type(),
				"x", 250.0,
				"y", 250.0,
				"text", "Eg er utlendingur",
				"anchor", GTK_ANCHOR_CENTER,
				"fill_color", "black",
				NULL);
(...)

has no visible effect.

Older applications which used to work with 1.0.9 are now affected by
this behaviour. The problem persists with 1.0.53, but disappears if I
switch back to lignomeui32 1.0.9.

Was there a change in the canvas programming interface that could
explain this ? Could this possibly be a bug ?

Thanks for reading,

Mike

My system : debian linux 2.1, kernel 2.0.36, libc6 2.1.1,
            gnome-libs 1.0.53




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]