diff options
Diffstat (limited to 'src/glibext')
-rw-r--r-- | src/glibext/delayed.c | 4 |
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"); + } |