summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-03-08 08:49:10 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-03-11 12:12:59 +0100
commitb3783c28b1c2ec26a54e31b43da3cb6a7494eedc (patch)
treeb80dd7c42cd37a479f93862894abbb025ccb8463 /vcl/unx
parentb6eeacd7da8f83ae8825809cc634c86be494e84e (diff)
make it possible to use FileDefinitionWidgetDraw in more backends
Reviewed-on: https://gerrit.libreoffice.org/68898 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit a2bf2ca1e3d398db0caa07fce4d135e6dc8b2f27) Change-Id: I8871eb49e11d8c72c469230967c3c979091a0f9b
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk/salnativewidgets-gtk.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/gtk/salnativewidgets-gtk.cxx b/vcl/unx/gtk/salnativewidgets-gtk.cxx
index 313af6cc0518..7592ecee34ba 100644
--- a/vcl/unx/gtk/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/salnativewidgets-gtk.cxx
@@ -70,6 +70,8 @@ GtkSalGraphics::GtkSalGraphics( GtkSalFrame *pFrame, GtkWidget *pWindow,
m_aClipRegion(true)
{
Init( pFrame, GDK_WINDOW_XID( widget_get_window( pWindow ) ), nXScreen );
+
+ initWidgetDrawBackends();
}
GtkSalGraphics::~GtkSalGraphics()