Re: Porting to gtk 1.3.5
- From: Havoc Pennington <hp redhat com>
- To: monkeyiq <monkeyiq dingoblue net au>
- Cc: gtk-list gnome org
- Subject: Re: Porting to gtk 1.3.5
- Date: 11 May 2001 11:43:38 -0400
monkeyiq <monkeyiq dingoblue net au> writes:
> All I get is:
> GRuntime-CRITICAL **: file gparamspecs.c: line 1465 (g_param_spec_enum): assertion `g_enum_get_value (enum_class, default_value) != NULL' failed
Well, the lesson is, always debug the first warning first. The
BadMatch is probably just a symptom of the earlier problems.
Try running in a debugger with --g-fatal-warnings, then get a
backtrace from the first warning.
It looks like the default value in your enum paramspec isn't actually
in the enum, or something.
] [Thread Prev