mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
8e17040c15
GBindingTransformFunc called its arguments "source_value" and "target_value", but in the transform_from function of a bidirectional binding, "source_value" comes from the target object, and "target_value" comes from the source object, which quickly gets confusing if you need to use g_binding_get_source(), etc, in the function. Of course developers can call their transform function arguments whatever they want, but many will copy from the headers/docs to start out, so use less confusing names here ("from_value" and "to_value"). Also, fix the documentation to describe the bidirectional case correctly. https://bugzilla.gnome.org/show_bug.cgi?id=709440 |
||
---|---|---|
.. | ||
.gitignore | ||
binding.c | ||
boxed.c | ||
closure.c | ||
dynamictests.c | ||
enums.c | ||
ifaceproperties.c | ||
Makefile.am | ||
marshalers.list | ||
param.c | ||
private.c | ||
properties.c | ||
qdata.c | ||
reference.c | ||
signals.c | ||
testcommon.h | ||
threadtests.c | ||
type.c | ||
valuearray.c |