summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/salnativewidgets-gtk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk/salnativewidgets-gtk.cxx')
-rw-r--r--vcl/unx/gtk/salnativewidgets-gtk.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/salnativewidgets-gtk.cxx b/vcl/unx/gtk/salnativewidgets-gtk.cxx
index 59fd3765406a..5126034ed5e5 100644
--- a/vcl/unx/gtk/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/salnativewidgets-gtk.cxx
@@ -247,7 +247,7 @@ static tools::Rectangle NWGetToolbarRect( SalX11Screen nScreen,
ControlPart nPart,
tools::Rectangle aAreaRect );
-static int getFrameWidth(GtkWidget* widget);
+static int getFrameWidth(GtkWidget const * widget);
static tools::Rectangle NWGetScrollButtonRect( SalX11Screen nScreen, ControlPart nPart, tools::Rectangle aAreaRect );
@@ -3543,7 +3543,7 @@ bool GtkSalGraphics::NWPaintGTKSlider(
return true;
}
-static int getFrameWidth(GtkWidget* widget)
+static int getFrameWidth(GtkWidget const * widget)
{
return widget->style->xthickness;
}