summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-26 20:08:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-26 20:08:06 +0300
commitd60eec2c2cd453ecbaee7883a272479792875465 (patch)
treee69ce19116c4d7eb043c33bc577866959bc87b43 /src/gui/widgets/window.h
parent5560a44ff5beea4fc2b88a589a3f915b9d0555d2 (diff)
downloadplus-d60eec2c2cd453ecbaee7883a272479792875465.tar.gz
plus-d60eec2c2cd453ecbaee7883a272479792875465.tar.bz2
plus-d60eec2c2cd453ecbaee7883a272479792875465.tar.xz
plus-d60eec2c2cd453ecbaee7883a272479792875465.zip
fix code style more.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index bf9bd935f..45a70dbeb 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -101,7 +101,7 @@ class Window : public gcn::Window,
/**
* Sets the location relative to the given enumerated position.
*/
- void setLocationRelativeTo(const ImageRect::ImagePosition position,
+ void setLocationRelativeTo(const ImageRect::ImagePosition &position,
int offsetX = 0, int offsetY = 0);
/**
@@ -329,7 +329,7 @@ class Window : public gcn::Window,
* on a relative enumerated position, rather than a coordinate position.
*/
void setDefaultSize(int defaultWidth, int defaultHeight,
- const ImageRect::ImagePosition position,
+ const ImageRect::ImagePosition &position,
const int offsetx = 0, const int offsetY = 0);
/**