Re: more GDK->GTK mapping
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list gnome org
- Cc: timj gtk org
- Subject: Re: more GDK->GTK mapping
- Date: 28 Feb 2001 19:08:37 -0500
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]