summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-09-20 15:31:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-09-20 21:22:12 +0200
commit6ba2c613be6d840bec6d7a145c12c6e4385103ee (patch)
tree6afaf2b97d804f41b2ed2f941df25f5bf0951031 /vcl
parent23bde05fa14c2b307b053ba52300f555158b9e3c (diff)
ensure embedded widget is realized
Change-Id: Id43ca34d31d8e45482786a0739d981d7c85de686 Reviewed-on: https://gerrit.libreoffice.org/79303 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 034d2f29f1f4..4df3120e12d9 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -2733,6 +2733,7 @@ public:
gtk_container_child_set(m_pContainer, pWindow, "expand", true, "fill", true, nullptr);
gtk_widget_set_hexpand(pWindow, true);
gtk_widget_set_vexpand(pWindow, true);
+ gtk_widget_realize(pWindow);
g_object_unref(pWindow);
xEmbedWindow->Show();