summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-31 20:51:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-06-01 09:47:39 +0200
commit26d755840c318b7296276bdc526e1c860c3406ac (patch)
tree5f7c55ff05b58fdee3264b316b9e79f2d4e37808 /vcl
parent3199e5e8002453e00cc54c338a1f198f2c405968 (diff)
gtk4: restore pixbufs to TreeView
Change-Id: Ic12de1d245be1336e83b137d2d0f5e2efbd3d57d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116505 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gtkinst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index b373071b9d5c..8b684ea95f5a 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -4358,13 +4358,13 @@ namespace
16, GTK_ICON_LOOKUP_USE_BUILTIN, &error);
}
else
+#endif
{
const AllSettings& rSettings = Application::GetSettings();
pixbuf = load_icon_by_name_theme_lang(rIconName,
rSettings.GetStyleSettings().DetermineIconTheme(),
rSettings.GetUILanguageTag().getBcp47());
}
-#endif
return pixbuf;
}
}