mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
2003-02-01 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-utilities.c: Build on Nigel's patch. This hopefully permanently closes http://bugzilla.gnome.org/show_bug.cgi?id=101705. * src/import-export/Makefile.am: No longuer compile Christian's old matcher. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7916 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ef64db1406
commit
ed551a808d
@ -1,3 +1,8 @@
|
||||
2003-02-01 Benoit Grégoire <bock@step.polymtl.ca>
|
||||
|
||||
* src/import-export/import-utilities.c: Build on Nigel's patch. This hopefully permanently closes http://bugzilla.gnome.org/show_bug.cgi?id=101705.
|
||||
* src/import-export/Makefile.am: No longuer compile Christian's old matcher.
|
||||
|
||||
2003-02-01 Christian Stimming <stimming@tuhh.de>
|
||||
|
||||
* src/import-export/import-backend.c: Reduced the
|
||||
|
@ -10,7 +10,6 @@ libgncmod_generic_import_la_SOURCES = \
|
||||
import-utilities.c \
|
||||
import-settings.c \
|
||||
import-match-map.c \
|
||||
gnc-gen-transaction.c \
|
||||
import-main-matcher.c \
|
||||
gncmod-generic-import.c
|
||||
|
||||
|
@ -56,7 +56,7 @@ const gchar * gnc_import_get_acc_online_id(Account * account)
|
||||
return string;
|
||||
}
|
||||
|
||||
void gnc_import_set_acc_online_id(Account * account,
|
||||
void gnc_import_set_acc_online_id(Account * account,
|
||||
const gchar * string_value)
|
||||
{
|
||||
kvp_frame * frame;
|
||||
@ -68,9 +68,8 @@ void gnc_import_set_acc_online_id(Account * account,
|
||||
frame = kvp_frame_new();
|
||||
}
|
||||
value = kvp_frame_get_slot(frame, "online_id");
|
||||
//kvp_value_delete(value);
|
||||
value = kvp_value_new_string(string_value);
|
||||
kvp_frame_set_slot(frame,"online_id",value);
|
||||
kvp_frame_set_slot(frame,"online_id",value);
|
||||
xaccAccountSetSlots_nc(account,frame);
|
||||
return;
|
||||
}
|
||||
@ -86,12 +85,11 @@ const gchar * gnc_import_get_trans_online_id(Transaction * transaction)
|
||||
return string;
|
||||
}
|
||||
|
||||
void gnc_import_set_trans_online_id(Transaction * transaction,
|
||||
void gnc_import_set_trans_online_id(Transaction * transaction,
|
||||
const gchar * string_value)
|
||||
{
|
||||
kvp_frame * frame;
|
||||
kvp_value * value;
|
||||
TRACE("Begin");
|
||||
frame = xaccTransGetSlots(transaction);
|
||||
if(frame==NULL)
|
||||
{
|
||||
@ -99,8 +97,7 @@ void gnc_import_set_trans_online_id(Transaction * transaction,
|
||||
frame = kvp_frame_new();
|
||||
}
|
||||
value = kvp_value_new_string(string_value);
|
||||
kvp_frame_set_slot(frame,"online_id",value);
|
||||
kvp_value_delete(value);
|
||||
kvp_frame_set_slot(frame,"online_id",value);
|
||||
xaccTransSetSlots_nc(transaction,frame);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user