Minor cleanups.

This commit is contained in:
Jordan Petridis
2017-12-01 06:40:32 +02:00
parent 2d4acc3ba3
commit 91ac2c6445
4 changed files with 9 additions and 47 deletions
+7
View File
@@ -40,6 +40,13 @@ impl PopulatedView {
}
}
#[allow(dead_code)]
pub fn new_initialized(stack: &gtk::Stack) -> PopulatedView {
let pop = PopulatedView::new();
pop.init(stack);
pop
}
pub fn init(&self, stack: &gtk::Stack) {
use gtk::WidgetExt;