binding: Add SYNC_CREATE to the flags
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 21 Jun 2010 11:26:42 +0000 (12:26 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 23 Jun 2010 14:19:24 +0000 (15:19 +0100)
commitf587cb57f249a8f4b869231ca20f5f19602a20ec
treee5aa9ea71cfdae03043e8dfb2ecd4af39d49572b
parentd3af9c0ec59465e4076791881bc89fe51539f3fd
binding: Add SYNC_CREATE to the flags

When creating a binding between two object properties we might want to
automatically synchronize the two values at the moment of the binding
creation, instead of waiting for the next change.

The G_BINDING_SYNC_CREATE flag does exactly what it says on the tin.

https://bugzilla.gnome.org/show_bug.cgi?id=622281
gobject/gbinding.c
gobject/gbinding.h
gobject/tests/binding.c