aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/headless.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/headless.rs')
-rw-r--r--src/x11/headless.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11/headless.rs b/src/x11/headless.rs
index 3bcea29..95f5233 100644
--- a/src/x11/headless.rs
+++ b/src/x11/headless.rs
@@ -53,7 +53,7 @@ impl HeadlessContext {
::Api::OpenGl
}
- pub fn set_window_resize_callback(&mut self, _: fn(uint, uint)) {
+ pub fn set_window_resize_callback(&mut self, _: Option<fn(uint, uint)>) {
}
}