From fad98527271b930d97bd15373a4aca25931cc32f Mon Sep 17 00:00:00 2001 From: nyamatongwe 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(-) (limited to 'gtk') 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