[gnome-software: 9/14] gs-details-page: Fix precondition failure return value
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 9/14] gs-details-page: Fix precondition failure return value
- Date: Fri, 13 Aug 2021 13:03:32 +0000 (UTC)
commit 4aec64d38e6447fee29fb197bdc88e3ed43f044b
Author: Philip Withnall <pwithnall endlessos org>
Date: Thu Aug 12 12:22:22 2021 +0100
gs-details-page: Fix precondition failure return value
Spotted while working on nearby code.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
src/gs-details-page.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-details-page.c b/src/gs-details-page.c
index 92c19c8a7..4d7585194 100644
--- a/src/gs-details-page.c
+++ b/src/gs-details-page.c
@@ -2023,7 +2023,7 @@ gs_details_page_setup (GsPage *page,
GsDetailsPage *self = GS_DETAILS_PAGE (page);
GtkAdjustment *adj;
- g_return_val_if_fail (GS_IS_DETAILS_PAGE (self), TRUE);
+ g_return_val_if_fail (GS_IS_DETAILS_PAGE (self), FALSE);
self->shell = shell;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]