From c114ff7957aec24484afb87b7f4823bbb1f57c5d Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sat, 4 Mar 2023 14:51:58 -0800 Subject: [PATCH] Remove unused function and variable. --- gnucash/import-export/aqb/gnc-ab-transfer.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/gnucash/import-export/aqb/gnc-ab-transfer.c b/gnucash/import-export/aqb/gnc-ab-transfer.c index 3cfc1e43b6..5bab04d7cf 100644 --- a/gnucash/import-export/aqb/gnc-ab-transfer.c +++ b/gnucash/import-export/aqb/gnc-ab-transfer.c @@ -47,25 +47,8 @@ /* 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) { @@ -136,7 +119,6 @@ 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;