summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2019-02-21 15:20:01 -0500
committerRay Strode <rstrode@redhat.com>2019-02-21 15:21:45 -0500
commitc9214f02efaa28964ddaa874b61fe97b31e2d5c5 (patch)
treec712a113c373b5938f63717e7b87a90bb734216a
parentc9e02375dc8f2c636b3698655856c22e9308f60a (diff)
downloadgdm-c9214f02efaa28964ddaa874b61fe97b31e2d5c5.tar.gz
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.
-rw-r--r--daemon/gdm-local-display-factory.c6
1 files 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