Re: Canvas error

>  I am porting a code of Tcl/Tk to Gnome, but the follow code ever show 
>  me error:
>  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 "points" in the `GnomeCanvasLine' class ancestry   

Did you use gnome_init() instead of gtk_init()?


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