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


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9893 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2004-04-15 17:35:02 +00:00
parent 79a24a42e8
commit efefa08644
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2004-05-15 Derek Atkins <derek@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-12 Chris Lyttle <chris@wilddev.net>
* src/scm/main.scm: Update for 1.8.9 release

View File

@@ -686,11 +686,11 @@ on_template_list_select_child (GtkList *list,
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);