[gnome-builder] worker: improve tracing for connection callback



commit 4d81d82719508fe21ae6b82d252518cc0e39e9e5
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]