diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2014-08-07 18:07:48 +0200 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2014-08-07 18:07:48 +0200 |
commit | e567d7f4fdaaba9f19b7ca32f37445f09ce701df (patch) | |
tree | fbab6809d9e94286e49b1d250ed367e4281335c3 /src/win32/mod.rs | |
parent | 3f69cbb189a7f54d7f4389a2b8a71f0c23dfd04d (diff) | |
download | glutin-e567d7f4fdaaba9f19b7ca32f37445f09ce701df.tar.gz glutin-e567d7f4fdaaba9f19b7ca32f37445f09ce701df.zip |
set_position now takes ints
Fix #12
Diffstat (limited to 'src/win32/mod.rs')
-rw-r--r-- | src/win32/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs index f29bf89..da94c70 100644 --- a/src/win32/mod.rs +++ b/src/win32/mod.rs @@ -71,7 +71,7 @@ impl Window { } /// See the docs if the crate root file. - pub fn set_position(&self, x: uint, y: uint) { + pub fn set_position(&self, x: int, y: int) { use libc; unsafe { |