[gnome-builder/wip/chergert/multi-process] worker: improve tracing for connection callback
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/multi-process] worker: improve tracing for connection callback
- Date: Wed, 21 Oct 2015 01:31:09 +0000 (UTC)
commit b54165ad8638d6c410861fc5d25a22cf03e4f70a
Author: Christian Hergert <chergert redhat com>
Date: Tue Oct 20 18:26:17 2015 -0700
worker: improve tracing for connection callback
libide/ide-worker-manager.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libide/ide-worker-manager.c b/libide/ide-worker-manager.c
index fefadc2..5b77007 100644
--- a/libide/ide-worker-manager.c
+++ b/libide/ide-worker-manager.c
@@ -77,7 +77,6 @@ ide_worker_manager_new_connection_cb (IdeWorkerManager *self,
GCredentials *credentials;
GHashTableIter iter;
gpointer key, value;
- gboolean handled = FALSE;
IDE_ENTRY;
@@ -98,11 +97,11 @@ ide_worker_manager_new_connection_cb (IdeWorkerManager *self,
if (ide_worker_process_matches_credentials (process, credentials))
{
ide_worker_process_set_connection (process, connection);
- handled = TRUE;
+ IDE_RETURN (TRUE);
}
}
- IDE_RETURN (handled);
+ IDE_RETURN (FALSE);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]