Re: more GDK->GTK mapping



Tim Janik <timj gtk org> writes:

> On 27 Feb 2001, Havoc Pennington wrote:
> 
> > Hi,
> 
> > +                 g_type_name (G_TYPE_FROM_INSTANCE (widget)));
> 
> you should use GTK_OBJECT_TYPE() or at least G_OBJECT_TYPE(), i.e. use
> the macros introduced for the fundamental type you're operating on.

Why?
                                        Owen




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