Re: Interface signals
- From: Bill Haneman <bill haneman sun com>
- To: Sven Neumann <sven gimp org>
- Cc: gtk-devel-list gnome org
- Subject: Re: Interface signals
- Date: Sun, 18 Nov 2001 22:53:59 +0000
Sven Neumann wrote:
> >
> > GType t = ATK_TYPE_TEXT;
> >
> > has stopped working.
...
> there might be other reasons, but since most _get_type() functions are
> declared G_GNUC_CONST, the compiler is allowed to optimize your code
> away completely. You should do something like the following instead.
Yes of course! thanks Sven. Interestingly however it still doesn't
work, even if I ref the type class.
> GType type;
>
> type = FOO_GET_TYPE;
> g_type_class_ref (type);
>
> Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]