• Dan Winship's avatar
    Fix overloading of "source" and "target" terminology in GBinding · 8e17040c
    Dan Winship authored
    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
    8e17040c
Name
Last commit
Last update
..
tests Loading commit data...
.gitignore Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
gatomicarray.c Loading commit data...
gatomicarray.h Loading commit data...
gbinding.c Loading commit data...
gbinding.h Loading commit data...
gboxed.c Loading commit data...
gboxed.h Loading commit data...
gclosure.c Loading commit data...
gclosure.h Loading commit data...
genums.c Loading commit data...
genums.h Loading commit data...
glib-genmarshal.c Loading commit data...
glib-mkenums.in Loading commit data...
glib-types.h Loading commit data...
gmarshal.c Loading commit data...
gmarshal.h Loading commit data...
gmarshal.list Loading commit data...
gobject-query.c Loading commit data...
gobject.c Loading commit data...
gobject.h Loading commit data...
gobject.py Loading commit data...
gobject.rc.in Loading commit data...
gobject.stp.in Loading commit data...
gobject_probes.d Loading commit data...
gobject_trace.h Loading commit data...
gobjectnotifyqueue.c Loading commit data...
gparam.c Loading commit data...
gparam.h Loading commit data...
gparamspecs.c Loading commit data...
gparamspecs.h Loading commit data...
gsignal.c Loading commit data...
gsignal.h Loading commit data...
gsourceclosure.c Loading commit data...
gsourceclosure.h Loading commit data...
gtype-private.h Loading commit data...
gtype.c Loading commit data...
gtype.h Loading commit data...
gtypemodule.c Loading commit data...
gtypemodule.h Loading commit data...
gtypeplugin.c Loading commit data...
gtypeplugin.h Loading commit data...
gvalue.c Loading commit data...
gvalue.h Loading commit data...
gvaluearray.c Loading commit data...
gvaluearray.h Loading commit data...
gvaluecollector.h Loading commit data...
gvaluetransform.c Loading commit data...
gvaluetypes.c Loading commit data...
gvaluetypes.h Loading commit data...
libgobject-gdb.py.in Loading commit data...
makefile.msc.in Loading commit data...
marshal-genstrings.pl Loading commit data...