Re: GType or GtkType
- From: Owen Taylor <otaylor redhat com>
- To: David Odin <David dindinx org>
- Cc: gtk-devel-list gnome org
- Subject: Re: GType or GtkType
- Date: Tue, 9 Jul 2002 19:50:05 -0400 (EDT)
David Odin <David dindinx org> writes:
> I've noticed that most of the widget in gtk+ (both 2.0.5 and cvs HEAD)
> use GtkType gtk_<widget_name>_get_type(); instead of
> GType gtk_<widget_name>_get_type();
> I'd understood that GtkType is deprecated and we should use GType
> Why is this? Is this only a question of time (and then, I could give
> some of my time to do the convertion), or is there a real reason to keep
> GtkType (and the 1.2 way of creating widgets) around?
Well, it is kept around because there is no point in making people
change their code if they don't have to.
There are a number of "remove deprecated stuff from GTK+" patches
in bugzilla that I _still_ haven't gotten to. (sigh.)
There is absolutely no practical difference between using GtkType
and GType other than cleanliness.
] [Thread Prev