[Gnucash-changes] Don't use C++/C99 variable declarations.
Derek Atkins
warlord at cvs.gnucash.org
Thu Apr 15 13:34:48 EDT 2004
Log Message:
-----------
Don't use C++/C99 variable declarations.
* src/import-export/hbci/dialog-hbcitrans.c: Don't use C++/C99
declarations. Declare variables at the top of the function.
Fixes #140070
Tags:
----
gnucash-1-8-branch
Modified Files:
--------------
gnucash:
ChangeLog
gnucash/src/import-export/hbci:
dialog-hbcitrans.c
Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1461.2.322
retrieving revision 1.1461.2.323
diff -LChangeLog -LChangeLog -u -r1.1461.2.322 -r1.1461.2.323
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,9 @@
+2004-05-15 Derek Atkins <derek at ihtfp.com>
+
+ * src/import-export/hbci/dialog-hbcitrans.c: Don't use C++/C99
+ declarations. Declare variables at the top of the function.
+ Fixes #140070
+
2004-04-11 Chris Lyttle <chris at wilddev.net>
* configure.in: Release 1.8.9
Index: dialog-hbcitrans.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/import-export/hbci/dialog-hbcitrans.c,v
retrieving revision 1.9.2.16
retrieving revision 1.9.2.17
diff -Lsrc/import-export/hbci/dialog-hbcitrans.c -Lsrc/import-export/hbci/dialog-hbcitrans.c -u -r1.9.2.16 -r1.9.2.17
--- src/import-export/hbci/dialog-hbcitrans.c
+++ src/import-export/hbci/dialog-hbcitrans.c
@@ -686,11 +686,11 @@
gpointer user_data)
{
HBCITransDialog *td = user_data;
+ GNCTransTempl *templ = gtk_object_get_user_data (GTK_OBJECT(widget)) ;
+
g_assert(td);
td->selected_template = widget;
-
- GNCTransTempl *templ = gtk_object_get_user_data (GTK_OBJECT(widget)) ;
fill_entry(gnc_trans_templ_get_recp_name(templ), td->recp_name_entry);
fill_entry(gnc_trans_templ_get_recp_account(templ), td->recp_account_entry);
More information about the Gnucash-changes
mailing list