summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-23 17:38:17 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-23 17:38:17 (GMT)
commit50eb8c462e7ad2b4e5b82d27b1af6e86091ea272 (patch)
tree0b9fd98ab67eb317925c7a6bc800794f7b41633d /src/analysis
parent040904901f919932738cd50878ca2d4ca8ba43f9 (diff)
Created a hook to act when loaded content analysis is over.
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/loaded.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analysis/loaded.c b/src/analysis/loaded.c
index 203868d..a035e5e 100644
--- a/src/analysis/loaded.c
+++ b/src/analysis/loaded.c
@@ -32,6 +32,7 @@
#include "../core/queue.h"
#include "../glibext/chrysamarshal.h"
#include "../glibext/gloadedpanel.h"
+#include "../plugins/pglist.h"
@@ -665,6 +666,9 @@ static void g_loaded_analysis_process(GLoadedAnalysis *analysis, GtkStatusStack
analysis->success = iface->analyze(analysis->content, gid, status);
+ if (analysis->success)
+ handle_loaded_content(PGA_CONTENT_ANALYZED, analysis->content, gid, status);
+
g_work_queue_delete_work_group(queue, gid);
}