diff options
author | Ruslan Kabatsayev <b7.10110111@gmail.com> | 2012-06-16 03:49:20 +0400 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-06-18 10:53:27 +0200 |
commit | 3f996588792d3dbefb001d546524a877d50d537c (patch) | |
tree | 47ba13c26d80d46627203840bea7a7324dbfc984 /vcl | |
parent | 95e1401f7fcf7b9ce6d646062892f3a3a55ed153 (diff) |
Fix arguments of Rectangle constructor
Change-Id: I8f288e55694ac85f8dcd2884a53ff4b5b9eef02f
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk/app/gtksys.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx index 179bf58dda61..cc921b87fb4f 100644 --- a/vcl/unx/gtk/app/gtksys.cxx +++ b/vcl/unx/gtk/app/gtksys.cxx @@ -245,7 +245,7 @@ Rectangle GtkSalSystem::GetDisplayScreenPosSizePixel (unsigned int nScreen) if (!pScreen) return Rectangle(); gdk_screen_get_monitor_geometry (pScreen, nMonitor, &aRect); - return Rectangle (aRect.x, aRect.y, aRect.width, aRect.height); + return Rectangle (Point(aRect.x, aRect.y), Size(aRect.width, aRect.height)); } Rectangle GtkSalSystem::GetDisplayScreenWorkAreaPosSizePixel (unsigned int nScreen) |