Re: more GDK->GTK mapping
- From: Tim Janik <timj gtk org>
- To: Owen Taylor <otaylor redhat com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: more GDK->GTK mapping
- Date: Thu, 1 Mar 2001 01:13:32 +0100 (CET)
On 28 Feb 2001, Owen Taylor wrote:
>
> 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?
because gtype.h just provides the helper API to implement fundamental types.
> Owen
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]