[gdm/wip/foreach-fixes: 3/4] local-display-factory: don't return value from foreach funcs



commit c9214f02efaa28964ddaa874b61fe97b31e2d5c5
Author: Ray Strode <rstrode redhat com>
Date:   Thu Feb 21 15:20:01 2019 -0500

    local-display-factory: don't return value from foreach funcs
    
    The local display factor code is returning FALSE from its
    display store foreach functions, which is useless since commit
    47d01abe.
    
    This commit makes it return void instead.

 daemon/gdm-local-display-factory.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c
index 5b9a48a1..98daca48 100644
--- a/daemon/gdm-local-display-factory.c
+++ b/daemon/gdm-local-display-factory.c
@@ -270,20 +270,18 @@ gdm_local_display_factory_create_transient_display (GdmLocalDisplayFactory *fact
         return ret;
 }
 
-static gboolean
+static void
 finish_display_on_seat_if_waiting (GdmDisplayStore *display_store,
                                    GdmDisplay      *display,
                                    const char      *seat_id)
 {
         if (gdm_display_get_status (display) != GDM_DISPLAY_WAITING_TO_FINISH)
-                return FALSE;
+                return;
 
         g_debug ("GdmLocalDisplayFactory: finish background display\n");
         gdm_display_stop_greeter_session (display);
         gdm_display_unmanage (display);
         gdm_display_finish (display);
-
-        return FALSE;
 }
 
 static void


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