Re: GParamSpec further funcs
- From: Kevin Ryde <user42 zip com au>
- To: gtk-perl-list gnome org
- Subject: Re: GParamSpec further funcs
- Date: Sat, 30 Aug 2008 08:59:20 +1000
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]