[Gnucash-changes] gnucash/src/import-export/hbci

David Hampton hampton at cvs.gnucash.org
Wed Mar 3 16:37:52 EST 2004


Update of /home/cvs/cvsroot/gnucash/src/import-export/hbci
In directory cvs.gnucash.org:/tmp/cvs-serv28985

Modified Files:
	gncmod-hbci.c 
Log Message:
Revert the last change.  The gh_xxx functions are deprecated.

==================================================
Differences for gncmod-hbci.c (revision 1.19 -> 1.20)
==================================================
--- /home/cvs/cvsroot/gnucash/src/import-export/hbci/gncmod-hbci.c	2004/01/20 23:02:43	1.19
+++ /home/cvs/cvsroot/gnucash/src/import-export/hbci/gncmod-hbci.c	2004/03/03 21:37:51	1.20
@@ -7,8 +7,8 @@
 
 #include "config.h"
 #include <stdio.h>
-#include <guile/gh.h>
 #include <glib.h>
+#include <libguile.h>
 
 #include "gnc-module.h"
 #include "gnc-module-api.h"
@@ -65,10 +65,10 @@
   }
 
   /* load the HBCI Scheme code */
-  gh_eval_str("(load-from-path \"hbci/hbci.scm\")");
+  scm_c_eval_string("(load-from-path \"hbci/hbci.scm\")");
 
-  gh_new_procedure("gnc:hbci-initial-setup", 
-		   scm_hbci_initial_druid, 0, 0, 0);
+  scm_c_define_gsubr("gnc:hbci-initial-setup", 
+		     0, 0, 0, scm_hbci_initial_druid);
 
   /* Add menu items with C callbacks */
   gnc_hbci_addmenus();


More information about the Gnucash-changes mailing list