aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vncviewer/GestureHandler.h2
-rw-r--r--vncviewer/MonitorIndicesParameter.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/vncviewer/GestureHandler.h b/vncviewer/GestureHandler.h
index df30ebc2..2b31703a 100644
--- a/vncviewer/GestureHandler.h
+++ b/vncviewer/GestureHandler.h
@@ -47,7 +47,7 @@ class GestureHandler : public rfb::Timer::Callback {
void twoTouchTimeout();
void pushEvent(GestureEventType t);
- GestureEventGesture stateToGesture(unsigned char state);
+ static GestureEventGesture stateToGesture(unsigned char state);
void getPosition(double *firstX, double *firstY,
double *lastX, double *lastY);
diff --git a/vncviewer/MonitorIndicesParameter.h b/vncviewer/MonitorIndicesParameter.h
index 80512c32..e71439a8 100644
--- a/vncviewer/MonitorIndicesParameter.h
+++ b/vncviewer/MonitorIndicesParameter.h
@@ -36,8 +36,8 @@ private:
int fltkIndex;
} Monitor;
- bool parseIndices(const char* value, std::set<int> *indices,
- bool complain=false);
+ static bool parseIndices(const char* value, std::set<int> *indices,
+ bool complain=false);
std::vector<MonitorIndicesParameter::Monitor> fetchMonitors();
static int compare(const void*, const void*);
};