gnucash master: Use correct type of 0 for char* return value.
John Ralls
jralls at code.gnucash.org
Tue May 19 12:53:32 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/26fe8e78 (commit)
from https://github.com/Gnucash/gnucash/commit/6ee48544 (commit)
commit 26fe8e7800c62c03f74002ea94705a3427008ea4
Author: John Ralls <jralls at ceridwen.us>
Date: Tue May 19 09:53:22 2020 -0700
Use correct type of 0 for char* return value.
diff --git a/gnucash/register/register-gnome/gnucash-item-list.c b/gnucash/register/register-gnome/gnucash-item-list.c
index 0002167bf..a904a4a52 100644
--- a/gnucash/register/register-gnome/gnucash-item-list.c
+++ b/gnucash/register/register-gnome/gnucash-item-list.c
@@ -211,7 +211,7 @@ gnc_item_list_get_selection (GncItemList *item_list)
GtkTreeSelection *selection =
gtk_tree_view_get_selection (item_list->tree_view);
if (!gtk_tree_selection_get_selected (selection, &model, &iter))
- return FALSE;
+ return NULL;
gtk_tree_model_get (model, &iter, 0, &string, -1);
return string;
Summary of changes:
gnucash/register/register-gnome/gnucash-item-list.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list