summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index cc78897..46506d3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -31,6 +31,7 @@
#include "editor.h"
#include "params.h"
#include "project.h"
+#include "analysis/delayed.h"
#include "arch/processor.h"
#include "format/exe_format.h"
#include "format/mangling/demangler.h"
@@ -95,19 +96,19 @@ int main(int argc, char **argv)
editor = create_editor();
gtk_widget_show(editor);
+ init_delayed_manager(G_OBJECT(editor));
+
init_all_plugins(G_OBJECT(editor));
/* Charge le dernier projet */
filename = get_string_config_value(config, MPT_RECENT_PROJECT_1);
- if (filename == NULL) project = create_empty_openida_project();
- else project = g_openida_project_new_from_xml(filename);
+ if (filename == NULL) project = create_empty_openida_project(G_OBJECT(editor));
+ else project = g_openida_project_new_from_xml(G_OBJECT(editor), filename);
set_current_openida_project(project);
- display_openida_project(project, G_OBJECT(editor));
-
/* Exécution du programme */
gdk_threads_enter();