Re: Porting to gtk 1.3.5



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.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]