Re: Using gnome-libs code with interpreters



>  Anyway, here are a few of the problems I have found:
>  
>  In the GnomeCanvasItem descendents, they register the various stipple
>  arguments as GTK_TYPE_BOXED, when it should be GTK_TYPE_GDK_WINDOW.
>  Without this change, it is impossible to set the stipple from language
>  bindings.

Thanks for noticing this!  I have just committed a fix.  My only
question is, when I fetch the argument values in my ::arg_set() and
::arg_get() methods, is it correct to use GTK_VALUE_BOXED()?

>  The other main one is that where GdkImlibImages and GnomeCanvasPoints
>  structures are used, they are given the type GTK_TYPE_POINTER.  This is
>  an other thing that can't be wrapped without heaps of special cases.
>  
>  I think these types should be defined as boxed types.  To do this, it
>  would be necessary to change gnometypes.c a bit to handle registration of
>  boxed types, and add the types to gnome-boxed.defs.  Then it would be
>  possible to use the correct type code in other parts of gnome-libs.

This is needed.  Can you please make those changes and put them in?  

Thanks,

  Federico



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