Re: param spec value type
- From: James Henstridge <james daa com au>
- To: Havoc Pennington <hp redhat com>
- Cc: gtk-devel-list gnome org, timj gtk org
- Subject: Re: param spec value type
- Date: Fri, 15 Dec 2000 09:01:34 +0800 (WST)
On 14 Dec 2000, Havoc Pennington wrote:
>
> Hi,
>
> gtk_object_add_arg_type() registers boxed args with
> g_param_spec_boxed() which has value_type GBoxed - however GBoxed has
> no value table so g_object_set() crashes when it calls g_value_init()
> to set the boxed argument.
You mean for GTK_TYPE_BOXED? Use of that typecode doesn't really make
sense. GTK_TYPE_BOXED is sort of an abstract type -- you should be using
subtypes of GTK_TYPE_BOXED, rather than BOXED itself.
James.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]