summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorAlessandro Bono <alessandro.bono369@gmail.com>2022-10-31 15:46:22 +0100
committerRay Strode <halfline@gmail.com>2023-04-28 19:41:28 +0000
commit92c5d05c30887f0984920a19eaf3c69221fb601d (patch)
tree1c792e005336b7c512a3edc664188fc424ce0ac4 /daemon
parent18da82dddc2498287116534ee7b0df4d38a859b8 (diff)
downloadgdm-92c5d05c30887f0984920a19eaf3c69221fb601d.tar.gz
gdm-launch-environment: Remove redudant check
g_return_if_fail (GDM_IS_LAUNCH_ENVIRONMENT (object)) already checks it it is NULL.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gdm-launch-environment.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index 507d6de7..d002f64e 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -916,8 +916,6 @@ gdm_launch_environment_finalize (GObject *object)
launch_environment = GDM_LAUNCH_ENVIRONMENT (object);
- g_return_if_fail (launch_environment != NULL);
-
gdm_launch_environment_stop (launch_environment);
if (launch_environment->session) {