diff --git a/src/frontend/glium/glutinloop.rs b/src/frontend/glium/glutinloop.rs index c24a71530..501979da2 100644 --- a/src/frontend/glium/glutinloop.rs +++ b/src/frontend/glium/glutinloop.rs @@ -20,7 +20,7 @@ use std::thread; use std::time::{Duration, SystemTime}; #[derive(Clone)] -pub struct GuiSender { +struct GuiSender { tx: SyncSender, proxy: EventsLoopProxy, } @@ -36,7 +36,7 @@ impl GuiSender { } } -pub fn channel(proxy: EventsLoopProxy) -> (GuiSender, Receiver) { +fn channel(proxy: EventsLoopProxy) -> (GuiSender, Receiver) { // Set an upper bound on the number of items in the queue, so that // we don't swamp the gui loop; this puts back pressure on the // producer side so that we have a chance for eg: processing CTRL-C