Minor cleanups.
This commit is contained in:
@@ -40,6 +40,13 @@ impl PopulatedView {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn new_initialized(stack: >k::Stack) -> PopulatedView {
|
||||
let pop = PopulatedView::new();
|
||||
pop.init(stack);
|
||||
pop
|
||||
}
|
||||
|
||||
pub fn init(&self, stack: >k::Stack) {
|
||||
use gtk::WidgetExt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user