[gnome-photos/wip/rishi/dlna-renderer-Wreturn-type] dlna-renderer: Silence -Wreturn-type




commit 6d7d520724864006d4fb1144b3ea9d1866b13bd1
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Mar 27 16:34:12 2021 +0100

    dlna-renderer: Silence -Wreturn-type
    
    Fallout from aa69e5035a27c17cecc968889c0984480e2cb218

 src/photos-dlna-renderer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/photos-dlna-renderer.c b/src/photos-dlna-renderer.c
index 8b358fd6..503e370c 100644
--- a/src/photos-dlna-renderer.c
+++ b/src/photos-dlna-renderer.c
@@ -668,7 +668,7 @@ photos_dlna_renderer_unshare_all_finish (PhotosDlnaRenderer *self,
                                          GAsyncResult *res,
                                          GError **error)
 {
-  g_return_if_fail (g_task_is_valid (res, self));
+  g_return_val_if_fail (g_task_is_valid (res, self), FALSE);
 
   return g_task_propagate_boolean (G_TASK (res), error);
 }


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