r16101 - gnucash/trunk/src/gnome-utils - gnc-budget-lookup, used for getter of budget option, may return '() instead of #f.
Andreas Köhler
andi5 at cvs.gnucash.org
Sat May 19 19:19:42 EDT 2007
Author: andi5
Date: 2007-05-19 19:19:39 -0400 (Sat, 19 May 2007)
New Revision: 16101
Trac: http://svn.gnucash.org/trac/changeset/16101
Modified:
gnucash/trunk/src/gnome-utils/dialog-options.c
Log:
gnc-budget-lookup, used for getter of budget option, may return '() instead of #f.
Modified: gnucash/trunk/src/gnome-utils/dialog-options.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-options.c 2007-05-18 23:31:49 UTC (rev 16100)
+++ gnucash/trunk/src/gnome-utils/dialog-options.c 2007-05-19 23:19:39 UTC (rev 16101)
@@ -2515,7 +2515,7 @@
GtkTreeModel *tm;
GtkTreeIter iter;
- if (value != SCM_BOOL_F) {
+ if (!SCM_NULLP(value)) {
if (!SWIG_IsPointer(value))
scm_misc_error("gnc_option_set_ui_value_budget",
"Option Value not a wcp.", value);
More information about the gnucash-changes
mailing list