Re: GParamSpec further funcs



I wrote:

    $pspec->values_cmp ($somevalue, $pspec->get_default_value())

Forget that.  A difference between typemap and $obj->get_property isn't
something values_cmp should worry about.  If it operates on whatever
->get_property and ->set_property do then that's enough.


(It does make you wonder if the generic g_param_value_set_default()
might be wrapped under its own new name.  Leave
$pspec->get_default_value() alone and have ->get_default_property_value
or something equally obscure which is "value" style instead of "typemap"
style ...)

-- 
If you book them they will come.



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