summaryrefslogtreecommitdiff
path: root/src/glibext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-12-16 21:55:04 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-12-16 21:55:04 (GMT)
commit64e09a6c3e39785975b5322973ed83734cedb82e (patch)
treea87d29cca9d86ccd26676460282ddf59c4e9cb17 /src/glibext
parent2581d80875304c466e8930dbe67986ceb95752b2 (diff)
Reintroduced the delayed disassembling of binaries.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@304 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/glibext')
-rw-r--r--src/glibext/delayed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glibext/delayed.c b/src/glibext/delayed.c
index a183449..e4dc37e 100644
--- a/src/glibext/delayed.c
+++ b/src/glibext/delayed.c
@@ -266,8 +266,6 @@ static void g_delayed_work_process(GDelayedWork *work, GtkExtStatusBar *statusba
{
work->run(work, statusbar);
- g_signal_emit_by_name(work, "work-completed");
-
g_mutex_lock(work->mutex);
work->completed = true;
@@ -275,6 +273,8 @@ static void g_delayed_work_process(GDelayedWork *work, GtkExtStatusBar *statusba
g_cond_signal(work->cond);
g_mutex_unlock(work->mutex);
+ g_signal_emit_by_name(work, "work-completed");
+
}