r18201 - gnucash/trunk/src/gnome - Replace GNCBook with QofBook

Phil Longstaff plongstaff at code.gnucash.org
Mon Jul 13 12:42:02 EDT 2009


Author: plongstaff
Date: 2009-07-13 12:42:01 -0400 (Mon, 13 Jul 2009)
New Revision: 18201
Trac: http://svn.gnucash.org/trac/changeset/18201

Modified:
   gnucash/trunk/src/gnome/dialog-sx-editor.c
   gnucash/trunk/src/gnome/druid-stock-split.c
   gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c
Log:
Replace GNCBook with QofBook


Modified: gnucash/trunk/src/gnome/dialog-sx-editor.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-editor.c	2009-07-13 16:41:02 UTC (rev 18200)
+++ gnucash/trunk/src/gnome/dialog-sx-editor.c	2009-07-13 16:42:01 UTC (rev 18201)
@@ -246,7 +246,7 @@
 static void
 editor_ok_button_clicked( GtkButton *b, GncSxEditorDialog *sxed )
 {
-    GNCBook *book;
+    QofBook *book;
     SchedXactions *sxes;
 
     if ( !gnc_sxed_check_consistent( sxed ) ) 

Modified: gnucash/trunk/src/gnome/druid-stock-split.c
===================================================================
--- gnucash/trunk/src/gnome/druid-stock-split.c	2009-07-13 16:41:02 UTC (rev 18200)
+++ gnucash/trunk/src/gnome/druid-stock-split.c	2009-07-13 16:42:01 UTC (rev 18201)
@@ -456,7 +456,7 @@
   amount = gnc_amount_edit_get_amount (GNC_AMOUNT_EDIT (info->price_edit));
   if (gnc_numeric_positive_p (amount))
   {
-    GNCBook *book;
+    QofBook *book;
     GNCPrice *price;
     GNCPriceDB *pdb;
     GNCCurrencyEdit *ce;

Modified: gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c	2009-07-13 16:41:02 UTC (rev 18200)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c	2009-07-13 16:42:01 UTC (rev 18201)
@@ -553,7 +553,7 @@
 {
     SchedXactions *sxes;
     SchedXaction *sx = (SchedXaction*)data;
-    GNCBook *book;
+    QofBook *book;
     book = gnc_get_current_book();
     sxes = gnc_book_get_schedxactions(book);
     gnc_sxes_del_sx(sxes, sx);



More information about the gnucash-changes mailing list