[wing] wingnamedpipelistener: make it more clear that we are removing the source



commit ddd31d30e9ce0b4370cb4fa8145471e99b4539b8
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date:   Mon Aug 23 11:26:20 2021 +0200

    wingnamedpipelistener: make it more clear that we are removing the
    source

 wing/wingnamedpipelistener.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/wing/wingnamedpipelistener.c b/wing/wingnamedpipelistener.c
index 4747992..249a47d 100644
--- a/wing/wingnamedpipelistener.c
+++ b/wing/wingnamedpipelistener.c
@@ -434,7 +434,7 @@ connect_ready (HANDLE   handle,
 
   g_object_unref (task);
 
-  return FALSE;
+  return G_SOURCE_REMOVE;
 }
 
 static GList *
@@ -518,7 +518,7 @@ accept_callback (HANDLE   handle,
   data->pipe_data = pipe_data;
   g_main_loop_quit (data->loop);
 
-  return TRUE;
+  return G_SOURCE_REMOVE;
 }
 
 /* Check if any of the named pipes is already connected


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]