gobject: Add install_properties()
authorEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 18 Aug 2010 14:32:27 +0000 (15:32 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 13 Sep 2010 11:34:53 +0000 (12:34 +0100)
commit9cd43d7a4c5d3a50187c2eaba7ab903cf6456d7d
tree5641f99d9268939cc7e5844b91831a5c9181e5b1
parent58a40904af47fbc838bea29cc6ab068b26eb74c5
gobject: Add install_properties()

Since we added g_object_notify_by_pspec(), an efficient way to install
and notify properties relies on storing the GParamSpec pointers inside
a static arrays, like we do for signal identifiers.

Instead of multiple calls to g_object_class_install_property(), we
should have a single function to take the static array of GParamSpecs
and iterate it.

https://bugzilla.gnome.org/show_bug.cgi?id=626919

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
docs/reference/gobject/gobject-sections.txt
gobject/gobject.c
gobject/gobject.h
gobject/gobject.symbols
gobject/tests/.gitignore
gobject/tests/Makefile.am
gobject/tests/properties.c [new file with mode: 0644]