vcl: refresh font cache only on real change
commit08814a34e3a3841c316dfb27a07583049abc5195
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>
Sun, 3 Jun 2018 03:57:04 +0000 (2 23:57 -0400)
committerCaolán McNamara <caolanm@redhat.com>
Thu, 7 Jun 2018 13:22:35 +0000 (7 15:22 +0200)
tree88802989d6e9138e8791c82031821be611420371
parentf6134b153a0b172e6f8f0a8e76985bd6a7848692
vcl: refresh font cache only on real change

GTK3 emits way too many style-updated, which triggers font cache updates. The
avoidance of unecessary font cache updates was first implemented in 29c55564.
Unfortuantely, it seems that the current font-options was never set as
last-seen font-options, so still to many fonts-changed were emitted

Change-Id: I01a47d4d7fb033e335b1a49ffa6e1bb98f7fd28d
Reviewed-on: https://gerrit.libreoffice.org/55287
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
vcl/inc/unx/gtk/gtkinst.hxx
vcl/unx/gtk/gtkinst.cxx
vcl/unx/gtk/gtksalframe.cxx
vcl/unx/gtk3/gtk3gtkframe.cxx