aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/mod.rs
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-07-30 13:10:17 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-07-30 13:10:17 +0200
commit838cc2b325d85735c7db40fba389bf120b282814 (patch)
treea2e2629ce451e8b705819256e57a5973eee73686 /src/x11/mod.rs
parent66f6b003d02dc83824725d4aaec0e4a1b4f0968b (diff)
downloadglutin-838cc2b325d85735c7db40fba389bf120b282814.tar.gz
glutin-838cc2b325d85735c7db40fba389bf120b282814.zip
Window getters now return an Option in case where the Window has been closed
Diffstat (limited to 'src/x11/mod.rs')
-rw-r--r--src/x11/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/x11/mod.rs b/src/x11/mod.rs
index cbb40d5..68a061b 100644
--- a/src/x11/mod.rs
+++ b/src/x11/mod.rs
@@ -120,7 +120,7 @@ impl Window {
}
}
- pub fn get_position(&self) -> (int, int) {
+ pub fn get_position(&self) -> Option<(int, int)> {
unimplemented!()
}
@@ -128,11 +128,11 @@ impl Window {
unimplemented!()
}
- pub fn get_inner_size(&self) -> (uint, uint) {
+ pub fn get_inner_size(&self) -> Option<(uint, uint)> {
unimplemented!()
}
- pub fn get_outer_size(&self) -> (uint, uint) {
+ pub fn get_outer_size(&self) -> Option<(uint, uint)> {
unimplemented!()
}