[anjuta/libgit2-glib] libanjuta/anjuta-async-task: Clear the running flag before finishing
- From: James Liggett <jrliggett src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/libgit2-glib] libanjuta/anjuta-async-task: Clear the running flag before finishing
- Date: Fri, 19 Jul 2013 04:47:05 +0000 (UTC)
commit 600b9c7f38f193944afe89eaaecc0147c263337d
Author: James Liggett <jrliggett cox net>
Date: Wed Jul 17 21:46:30 2013 -0700
libanjuta/anjuta-async-task: Clear the running flag before finishing
libanjuta/anjuta-async-task.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libanjuta/anjuta-async-task.c b/libanjuta/anjuta-async-task.c
index e078f6a..3f7b81a 100644
--- a/libanjuta/anjuta-async-task.c
+++ b/libanjuta/anjuta-async-task.c
@@ -148,12 +148,12 @@ anjuta_async_task_notification_poll (AnjutaAsyncTask *self)
* didn't acquire the data lock */
if (flags & FINISHED && (flags & DATA_ARRIVED) == 0)
{
- g_signal_emit_by_name (self, "finished");
-
/* Indicate that the idle is no longer running and we won't send any more
* notifications. */
+ anjuta_async_task_clear_flag (self, RUNNING);
+
+ g_signal_emit_by_name (self, "finished");
- anjuta_async_task_clear_flag (self, RUNNING);
return FALSE;
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]