summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-17 19:07:18 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-17 19:07:18 +0300
commitac51e9e9d85ef6a590b6ed0e4491056b38169d78 (patch)
tree24b4fe5946a8de9eda2fe95748b60e9d8e9953c0 /src/gui/gui.h
parent305c5551ae6d85f3a5c35ffd9af63cc1390fbfa6 (diff)
downloadplus-ac51e9e9d85ef6a590b6ed0e4491056b38169d78.tar.gz
plus-ac51e9e9d85ef6a590b6ed0e4491056b38169d78.tar.bz2
plus-ac51e9e9d85ef6a590b6ed0e4491056b38169d78.tar.xz
plus-ac51e9e9d85ef6a590b6ed0e4491056b38169d78.zip
add restrict into gui.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 7ac546102..b854a43de 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -147,7 +147,8 @@ class Gui final : public gcn::Gui
MouseEvent *createMouseEvent(Window *const widget) A_WARN_UNUSED;
- void getAbsolutePosition(gcn::Widget *widget, int &x, int &y);
+ void getAbsolutePosition(gcn::Widget *restrict widget,
+ int &restrict x, int &restrict y);
void addGlobalFocusListener(gcn::FocusListener* focusListener);