diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-14 16:10:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-14 22:09:06 +0200 |
commit | ad875b928780885a762e91af9b91768882616eaa (patch) | |
tree | 4ed43f83bf26507d4bf3f146264615cb66cd0c06 /cui/source | |
parent | 79ca3d06eff77229ce5227113a510e8153afb5f4 (diff) |
gtk4: advertise as gtk4 not gtk3
Change-Id: I7f38238109f79cc8b87d41999a8355879761a894
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115626
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 4bb8eb7713d6..b14b73daa1a5 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -579,7 +579,7 @@ OfaViewTabPage::OfaViewTabPage(weld::Container* pPage, weld::DialogController* p , m_xMouseMiddleLB(m_xBuilder->weld_combo_box("mousemiddle")) , m_xMoreIcons(m_xBuilder->weld_button("btnMoreIcons")) { - if (Application::GetToolkitName() == "gtk3") + if (Application::GetToolkitName().startsWith("gtk")) m_xMenuIconBox->hide(); m_xFontAntiAliasing->connect_toggled( LINK( this, OfaViewTabPage, OnAntialiasingToggled ) ); |