summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-07 16:08:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-07 20:26:07 +0100
commit6d7a7845ae9f774daf8da6ac528d970d29fa2b1d (patch)
treec3879308c213486c2743d4c3d5bcb584452906df /vcl/unx
parent901fee94302e1b6366a5df2859f1f13ff0c4afca (diff)
move queue_resize to baseclass
Change-Id: I7f34037fc2c48168a56918c83ac7323febfe7486 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112139 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 0a37e8175d86..f1e99eccca07 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -3021,6 +3021,11 @@ public:
set_cursor(m_pWidget, bBusy ? "progress" : nullptr);
}
+ virtual void queue_resize() override
+ {
+ gtk_widget_queue_resize(m_pWidget);
+ }
+
virtual css::uno::Reference<css::datatransfer::dnd::XDropTarget> get_drop_target() override
{
if (!m_xDropTarget)
@@ -13933,11 +13938,6 @@ public:
gtk_widget_queue_draw_area(GTK_WIDGET(m_pDrawingArea), aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight());
}
- virtual void queue_resize() override
- {
- gtk_widget_queue_resize(GTK_WIDGET(m_pDrawingArea));
- }
-
virtual a11yref get_accessible_parent() override
{
//get_accessible_parent should only be needed for the vcl implementation,