summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-04-22 15:23:01 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-04-22 15:23:01 (GMT)
commit01402277db54d9fddaa12878f6db7f02c8d8e7ef (patch)
tree694dcf1dc464177b3e01a6043a48ccb7721e054b /src/analysis
parent40c139384b25e89f9308f0d493e1c9ff0318a3cb (diff)
Ensured all tasks are completed before exiting batch mode.
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/project.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/analysis/project.c b/src/analysis/project.c
index 88b468a..b4108ff 100644
--- a/src/analysis/project.c
+++ b/src/analysis/project.c
@@ -999,14 +999,16 @@ static void on_loaded_content_analyzed(GLoadedContent *content, gboolean success
{
const char *desc; /* Description du contenu */
+ desc = g_loaded_content_describe(content, true);
+
if (success)
+ {
g_study_project_attach_content(project, content);
+ log_variadic_message(LMT_INFO, _("Content from '%s' has been analyzed successfully!"), desc);
+ }
else
- {
- desc = g_loaded_content_describe(content, true);
log_variadic_message(LMT_ERROR, _("Failed to load '%s'"), desc);
- }
g_object_ref(G_OBJECT(content));