mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Revert "Remove unused function and variable."
committed in error.
This commit is contained in:
parent
c0681ababa
commit
abdd4d9ed7
@ -47,8 +47,25 @@
|
||||
/* This static indicates the debugging module that this .o belongs to. */
|
||||
G_GNUC_UNUSED static QofLogModule log_module = G_LOG_DOMAIN;
|
||||
|
||||
static void save_templates(GtkWidget *parent, Account *gnc_acc, GList *templates,
|
||||
gboolean dont_ask);
|
||||
static void txn_created_cb(Transaction *trans, gpointer user_data);
|
||||
|
||||
static void
|
||||
save_templates(GtkWidget *parent, Account *gnc_acc, GList *templates,
|
||||
gboolean dont_ask)
|
||||
{
|
||||
g_return_if_fail(gnc_acc);
|
||||
if (dont_ask || gnc_verify_dialog (
|
||||
GTK_WINDOW (parent), FALSE, "%s",
|
||||
_("You have changed the list of online transfer templates, "
|
||||
"but you cancelled the transfer dialog. "
|
||||
"Do you nevertheless want to store the changes?")))
|
||||
{
|
||||
gnc_ab_set_book_template_list(gnc_account_get_book(gnc_acc), templates);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
txn_created_cb(Transaction *trans, gpointer user_data)
|
||||
{
|
||||
@ -119,6 +136,7 @@ gnc_ab_maketrans(GtkWidget *parent, Account *gnc_acc,
|
||||
{
|
||||
GncGWENGui *gui = NULL;
|
||||
gint result;
|
||||
gboolean changed;
|
||||
const AB_TRANSACTION *ab_trans;
|
||||
GNC_AB_JOB *job = NULL;
|
||||
GNC_AB_JOB_LIST2 *job_list = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user