From 78c68eb0882e2fb37ecb1693466da128e63f5b39 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 5 Jun 2013 21:38:05 +1000 Subject: Make method const since it has no side-effects. --- gtk/PlatGTK.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 0ea2ba8ec..a6ae84e10 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -185,7 +185,7 @@ public: width[i] = 0; } } - XYPOSITION CharWidth(unsigned char ch, encodingType et_) { + XYPOSITION CharWidth(unsigned char ch, encodingType et_) const { XYPOSITION w = 0; FontMutexLock(); if ((ch <= 127) && (et == et_)) { -- cgit v1.2.3