[gnome-software] trivial: flatpak: Don't return NULL from a gboolean return value function
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: flatpak: Don't return NULL from a gboolean return value function
- Date: Thu, 8 Mar 2018 15:42:02 +0000 (UTC)
commit eb68607baea3b83b719acb739516b361a6758bcf
Author: Kalev Lember <klember redhat com>
Date: Thu Mar 8 16:39:52 2018 +0100
trivial: flatpak: Don't return NULL from a gboolean return value function
plugins/flatpak/gs-flatpak.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 17920b3a..a27f8bbd 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -2656,7 +2656,7 @@ gs_flatpak_get_list_for_install_or_update (GsFlatpak *self,
gs_app_set_origin (app_tmp, gs_app_get_origin (app));
if (!gs_plugin_refine_item_state (self, app_tmp, cancellable, error))
- return NULL;
+ return FALSE;
if (is_update && !gs_app_is_updatable (app_tmp)) {
g_debug ("not adding related %s as it's not updatable", ref_display);
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]