diff options
author | Pranav Kant <pranavk@libreoffice.org> | 2015-12-18 21:51:23 +0530 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-11 10:13:11 +0000 |
commit | 09c73ad5b1462161b855bf3d43a3d86a3ee28659 (patch) | |
tree | e198a56cdaabb2612bb2c3b00399857febc87e47 /sccomp | |
parent | d753e9e41283ca1e0d77001ec1174426451dd7fe (diff) |
lokdocview: Use an array to install properties
This way we can directly reference any property by pointers to
GParamSpec stored in a static array, rather than looking for
property using property name. The former is a faster approach.
This will come in handy for functions, such as, g_object_notify
which needs to access properties to notify the object of any
property change in a faster way.
Change-Id: Ic4087bff3bdb63a3e8853d158c7af688e5e67811
Reviewed-on: https://gerrit.libreoffice.org/20797
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
(cherry picked from commit 81f31f5151b54899ac5461c9c7c4021cdf31a9a6)
Reviewed-on: https://gerrit.libreoffice.org/21272
Reviewed-by: Pranav Kant <pranavk@gnome.org>
Diffstat (limited to 'sccomp')
0 files changed, 0 insertions, 0 deletions