Re: Interface macro usage



On 7 Jan 2002, Mike Kestner wrote:

> There are several interfaces in gtk+ which don't use the
> G_TYPE_INSTANCE_GET_INTERFACE macro in favor of a more longhand
> approach. :-)  Specifically, GtkCellEditable, GtkTreeDragSource,
> GtkTreeDragDest, GtkTreeSortable, and GtkTreeModel. Would it be possible
> to update these to use the macro to facilitate interface parsing for
> language bindings?  I can provide a patch, or just commit a change if
> it's acceptable.

iirc, G_TYPE_INSTANCE_GET_INTERFACE() got added before the first gtk
interface was implemented and later that code got copied over.
if you'd provide a patch (cvs diff -up) and post it here, that'd be
much apprechiated.

> 
> Regards,
> Mike
> 

---
ciaoTJ




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