summaryrefslogtreecommitdiff
path: root/src/eom-application.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-application.c')
-rw-r--r--src/eom-application.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/eom-application.c b/src/eom-application.c
index c5bdf05..1515d70 100644
--- a/src/eom-application.c
+++ b/src/eom-application.c
@@ -140,6 +140,8 @@ eom_application_init (EomApplication *eom_application)
eom_session_init (eom_application);
+ eom_application->plugin_engine = eom_plugin_engine_new ();
+
eom_application->toolbars_model = egg_toolbars_model_new ();
egg_toolbars_model_load_names (eom_application->toolbars_model,
@@ -434,6 +436,11 @@ eom_application_shutdown (EomApplication *application)
application->toolbars_file = NULL;
}
+ if (application->plugin_engine) {
+ g_object_unref (application->plugin_engine);
+ application->plugin_engine = NULL;
+ }
+
eom_application_save_accelerators ();
g_object_unref (application);