r17687 - gnucash/trunk/src/gnome-utils - Bug #560043: Fix crash after changing the budget option in the budget report.

Christian Stimming cstim at cvs.gnucash.org
Sun Nov 9 13:11:23 EST 2008


Author: cstim
Date: 2008-11-09 13:11:22 -0500 (Sun, 09 Nov 2008)
New Revision: 17687
Trac: http://svn.gnucash.org/trac/changeset/17687

Modified:
   gnucash/trunk/src/gnome-utils/dialog-options.c
Log:
Bug #560043: Fix crash after changing the budget option in the budget report.

This was caused by changing the internal structure name of the GncBudget,
in r17369 and originally in r17352. From a quick glance, the gda-dev branch
didn't introduce any further structure name changes, but those should be
reviewed in any case.

Modified: gnucash/trunk/src/gnome-utils/dialog-options.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-options.c	2008-11-09 03:40:58 UTC (rev 17686)
+++ gnucash/trunk/src/gnome-utils/dialog-options.c	2008-11-09 18:11:22 UTC (rev 17687)
@@ -2802,7 +2802,7 @@
     if (!bgt)
         return SCM_BOOL_F;
 
-    return SWIG_NewPointerObj(bgt, SWIG_TypeQuery("_p_gnc_budget_private"), 0);
+    return SWIG_NewPointerObj(bgt, SWIG_TypeQuery("_p_budget_s"), 0);
 }
 
 static SCM



More information about the gnucash-changes mailing list