fn quit(&mut self) {
        for dir in self.tempdirs.drain(0..) {
            dir.close().expect("Can't close tempdir");
        }

        gtk::main_quit();
    }
// needed because gtk::main_quit calls exit and tempdirs destructor doesn't run
needed because gtk::main_quit calls exit and tempdirs destructor doesn't run
needed because gtk :: main_quit calls exit and tempdirs destructor doesn ' t run
fn quit(&mut self) {
        for dir in self.tempdirs.drain(0..) {
            dir.close().expect("Can't close tempdir");
        }
        gtk::main_quit();
    }
fn quit ( & mut self ) { for dir in self . tempdirs . drain ( 0 .. ) { dir . close ( ) . expect ( " " ) ; } gtk :: main_quit ( ) ; }
needed because gtk::main_quit calls exit and tempdirs destructor doesn't run
needed because gtk :: main_quit calls exit and tempdirs destructor doesn ' t run
&mut self
&mut self