diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-07-06 12:22:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-07-06 15:20:55 +0200 |
commit | c420b05745a507d6649c84279b6de5455d7d6ecb (patch) | |
tree | 1c9a7a3f4ccc11e163eb0712f1ec99b67b4a5c84 /sfx2/source/sidebar | |
parent | 32196af8ef5fd6473668ad147c6bfe8c2adf7e52 (diff) |
gtk4: insert an intermediate GtkBox as 'toplevel'
so we only have to concern outselves about GtkBox and GtkGrid as
containers
Change-Id: I7154c6256d26b0bb1e13a75eb063ae86d3632bf6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118479
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r-- | sfx2/source/sidebar/TabBar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx index eda97378bcae..a233519f4752 100644 --- a/sfx2/source/sidebar/TabBar.cxx +++ b/sfx2/source/sidebar/TabBar.cxx @@ -48,7 +48,7 @@ TabBar::TabBar(vcl::Window* pParentWindow, : InterimItemWindow(pParentWindow, "sfx/ui/tabbar.ui", "TabBar") , mxFrame(rxFrame) , mxAuxBuilder(Application::CreateBuilder(m_xContainer.get(), "sfx/ui/tabbarcontents.ui")) - , mxTempToplevel(mxAuxBuilder->weld_container("toplevel")) + , mxTempToplevel(mxAuxBuilder->weld_box("toplevel")) , mxContents(mxAuxBuilder->weld_widget("TabBarContents")) , mxMenuButton(mxAuxBuilder->weld_menu_button("menubutton")) , mxMainMenu(mxAuxBuilder->weld_menu("mainmenu")) |