[gnome-session] client: Fix an incorrectly typed precondition return value



commit cef3e9b1db34e7b34e468b0446f8c0a5241d13ad
Author: Philip Withnall <pwithnall endlessos org>
Date:   Fri Nov 12 16:47:35 2021 +0000

    client: Fix an incorrectly typed precondition return value
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 gnome-session/gsm-client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-session/gsm-client.c b/gnome-session/gsm-client.c
index ff7fd393..25f0bf73 100644
--- a/gnome-session/gsm-client.c
+++ b/gnome-session/gsm-client.c
@@ -566,7 +566,7 @@ gsm_client_save (GsmClient *client,
                  GsmApp    *app,
                  GError   **error)
 {
-        g_return_val_if_fail (GSM_IS_CLIENT (client), FALSE);
+        g_return_val_if_fail (GSM_IS_CLIENT (client), NULL);
 
         return GSM_CLIENT_GET_CLASS (client)->impl_save (client, app, error);
 }


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