diff options
Diffstat (limited to 'vcl/unx/gtk3/gtkobject.cxx')
-rw-r--r-- | vcl/unx/gtk3/gtkobject.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk3/gtkobject.cxx b/vcl/unx/gtk3/gtkobject.cxx index 2d58b67b2a70..c4807dff539b 100644 --- a/vcl/unx/gtk3/gtkobject.cxx +++ b/vcl/unx/gtk3/gtkobject.cxx @@ -130,7 +130,7 @@ void GtkSalObject::ResetClipRegion() { #if !GTK_CHECK_VERSION(4, 0, 0) if( m_pSocket ) - gdk_window_shape_combine_region( gtk_widget_get_window(m_pSocket), nullptr, 0, 0 ); + gdk_window_shape_combine_region( widget_get_surface(m_pSocket), nullptr, 0, 0 ); #endif } @@ -156,7 +156,7 @@ void GtkSalObject::EndSetClipRegion() { #if !GTK_CHECK_VERSION(4, 0, 0) if( m_pSocket ) - gdk_window_shape_combine_region( gtk_widget_get_window(m_pSocket), m_pRegion, 0, 0 ); + gdk_window_shape_combine_region( widget_get_surface(m_pSocket), m_pRegion, 0, 0 ); #endif } |