What happened to gnome_canvas_line points?!?!?!



I'm revisiting an old project which made use of the following type of setup:

cnctn_line = gnome_canvas_item_new (parent->parent->group,
		gnome_canvas_line_get_type (),
		"points", points,
		"fill_color", "black",
		"width_pixels", 2,
		NULL);

but now I'm getting an error from my application:

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

GnomeUI-WARNING **: gnome_canvas_item_construct(): could not find argument "coords" in the `GnomeCanvasLine' class ancestry

Please tell me there's a workaround for this?

I'm using gnome-libs 1.4.1.7 on Slackware 9.0 (pre).

Thanks,

DT
--
Technical Director, Virginia Center for Computer Music




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