WIP: Make App the only entry point from main

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo
2021-04-09 13:38:09 -06:00
co-authored by Max Brunsfeld
parent 301163bab7
commit 4ecc17b1bb
7 changed files with 165 additions and 88 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ use crate::{settings::Settings, watch};
use gpui::{App, MutableAppContext};
use std::path::PathBuf;
pub fn init(app: &mut App) {
pub fn init(app: &mut MutableAppContext) {
app.add_global_action("workspace:open_paths", open_paths);
app.add_global_action("app:quit", quit);
pane::init(app);