Skip to content

Commit

Permalink
Merge pull request #100 from waywardmonkeys/rename-druid-app
Browse files Browse the repository at this point in the history
Rename druid_app to glazier_app.
  • Loading branch information
waywardmonkeys authored Jul 15, 2023
2 parents 9ec2b46 + 680052d commit 0c61390
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app_main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ impl<T: Send + 'static, V: View<T> + 'static> AppLauncher<T, V> {
let mut menubar = Menu::new();
menubar.add_dropdown(Menu::new(), "Application", true);
menubar.add_dropdown(file_menu, "&File", true);
let druid_app = Application::new().unwrap();
let mut builder = WindowBuilder::new(druid_app.clone());
let glazier_app = Application::new().unwrap();
let mut builder = WindowBuilder::new(glazier_app.clone());
let _guard = self.app.rt.enter();
let main_state = MainState::new(self.app);
builder.set_handler(Box::new(main_state));
Expand All @@ -86,7 +86,7 @@ impl<T: Send + 'static, V: View<T> + 'static> AppLauncher<T, V> {
builder.set_size(Size::new(1024., 768.));
let window = builder.build().unwrap();
window.show();
druid_app.run(None);
glazier_app.run(None);
}
}

Expand Down

0 comments on commit 0c61390

Please sign in to comment.