summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-08-02 23:49:17 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-08-02 23:49:17 (GMT)
commitc3bfd743a8422e7c844ccf3247b142af548209b8 (patch)
tree7073f153d0f5a0589e0c44166b65649ec047040d /src/analysis
parent9226736f0702db296433466462cfbad5a11bf46b (diff)
Allowed to emit signals to GTK main thread for GUI updates in a generic way.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@563 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/project.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/analysis/project.c b/src/analysis/project.c
index 7f86b11..5bb028f 100644
--- a/src/analysis/project.c
+++ b/src/analysis/project.c
@@ -211,7 +211,8 @@ GStudyProject *g_study_project_open(GObject *ref, const char *filename)
if (binary != NULL)
{
g_signal_connect_to_main(binary, "disassembly-done",
- G_CALLBACK(g_study_project_add_loaded_binary), result);
+ G_CALLBACK(g_study_project_add_loaded_binary), result,
+ g_cclosure_marshal_VOID__VOID);
g_loaded_binary_analyse(binary);
}