summaryrefslogtreecommitdiffstats
path: root/src/Gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gui')
-rw-r--r--src/Gui/RenderArea.cpp4
-rw-r--r--src/Gui/RenderArea.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Gui/RenderArea.cpp b/src/Gui/RenderArea.cpp
index 5d0b2b3..576b1f7 100644
--- a/src/Gui/RenderArea.cpp
+++ b/src/Gui/RenderArea.cpp
@@ -84,12 +84,12 @@ void RenderArea::onRealize() {
gdkGLEnd();
}
-bool RenderArea::onConfigureEvent(GdkEventConfigure *event) {
+bool RenderArea::onConfigureEvent(GdkEventConfigure*) {
updateViewport();
return true;
}
-bool RenderArea::onExposeEvent(GdkEventExpose *event) {
+bool RenderArea::onExposeEvent(GdkEventExpose*) {
if(!gdkGLBegin())
return false;
diff --git a/src/Gui/RenderArea.h b/src/Gui/RenderArea.h
index e9fd0bc..66a8924 100644
--- a/src/Gui/RenderArea.h
+++ b/src/Gui/RenderArea.h
@@ -44,8 +44,8 @@ class RenderArea : public Gtk::DrawingArea {
float scale;
void onRealize();
- bool onConfigureEvent(GdkEventConfigure *event);
- bool onExposeEvent(GdkEventExpose *event);
+ bool onConfigureEvent(GdkEventConfigure*);
+ bool onExposeEvent(GdkEventExpose*);
bool onScrollEvent(GdkEventScroll *event);
void zoom(int zoom, float x = 0.5f, float y = 0.5f);