aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
authorColomban Wendling <ban@herbesfolles.org>2016-10-23 18:05:00 +0200
committerColomban Wendling <ban@herbesfolles.org>2016-10-23 18:05:00 +0200
commitb2412a3e9530a9644794b56ca50ef03cd6ac1af2 (patch)
tree4fb6e05abd1bd518eb3d35f4661d8b45d72be853 /gtk/PlatGTK.cxx
parente9657ea868fd2fc92175e98954e077b58805efb8 (diff)
downloadscintilla-mirror-b2412a3e9530a9644794b56ca50ef03cd6ac1af2.tar.gz
Bug [#1874]. GTK: Avoid warnings about unused parameters
Either remove the parameter name if it is never used, or mark it with G_GNUC_UNUSED when it might be used depending on some preprocessor flags.
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rw-r--r--gtk/PlatGTK.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 1629818ef..3b96418be 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -550,7 +550,7 @@ static void PathRoundRectangle(cairo_t *context, double left, double top, double
}
void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, ColourDesired fill, int alphaFill,
- ColourDesired outline, int alphaOutline, int flags) {
+ ColourDesired outline, int alphaOutline, int /*flags*/) {
if (context && rc.Width() > 0) {
ColourDesired cdFill(fill.AsLong());
cairo_set_source_rgba(context,