aboutsummaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
Diffstat (limited to 'main/src')
-rw-r--r--main/src/main.vala7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/src/main.vala b/main/src/main.vala
index 80f9bea5..21e45bf4 100644
--- a/main/src/main.vala
+++ b/main/src/main.vala
@@ -5,16 +5,17 @@ namespace Dino {
void main(string[] args) {
Gtk.init(ref args);
- Dino.Ui.Application app = new Dino.Ui.Application();
- PluginLoader loader = new PluginLoader();
+ Application app = new Application();
+ Plugins.Loader loader = new Plugins.Loader();
foreach(string plugin in new string[]{}) {
try {
loader.load(plugin, app);
- } catch (Dino.PluginError e) {
+ } catch (Plugins.Error e) {
print(@"Error loading plugin $plugin: $(e.message)\n");
}
}
app.run(args);
+ loader.shutdown();
}
} \ No newline at end of file