set_position now takes ints

Fix #12
This commit is contained in:
Pierre Krieger 2014-08-07 18:07:48 +02:00
parent 3f69cbb189
commit e567d7f4fd
4 changed files with 4 additions and 4 deletions

View file

@ -200,7 +200,7 @@ impl Window {
///
/// This is a no-op if the window has already been closed.
#[inline]
pub fn set_position(&self, x: uint, y: uint) {
pub fn set_position(&self, x: int, y: int) {
self.window.set_position(x, y)
}