aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-03-13 21:22:03 +0000
committernyamatongwe <unknown>2010-03-13 21:22:03 +0000
commit1b2967ee84232e3053eb6d7299f11982b91d6d81 (patch)
treea506a530b0e449bbf814f6f98c2d19c2e13dcb76 /src/XPM.h
parent0f626757c6c63c22943ad7e86650b9ad8787584f (diff)
downloadscintilla-mirror-1b2967ee84232e3053eb6d7299f11982b91d6d81.tar.gz
Adding const to methods where possible.
Diffstat (limited to 'src/XPM.h')
-rw-r--r--src/XPM.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/XPM.h b/src/XPM.h
index 91aa4a8bd..71970a6b5 100644
--- a/src/XPM.h
+++ b/src/XPM.h
@@ -43,9 +43,9 @@ public:
void Draw(Surface *surface, PRectangle &rc);
char **InLinesForm() { return lines; }
void SetId(int pid_) { pid = pid_; }
- int GetId() { return pid; }
- int GetHeight() { return height; }
- int GetWidth() { return width; }
+ int GetId() const { return pid; }
+ int GetHeight() const { return height; }
+ int GetWidth() const { return width; }
static const char **LinesFormFromTextForm(const char *textForm);
};