Skip to content
Commit 9cd43d7a authored by Emmanuele Bassi's avatar Emmanuele Bassi
Browse files

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: default avatarEmmanuele Bassi <ebassi@linux.intel.com>
parent 58a40904
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment