gnucash stable: [gnc-plugin-page-account-tree.cpp] wrap extern "C" for exposed funcs

Christopher Lam clam at code.gnucash.org
Mon May 13 01:13:51 EDT 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/3fc0413e (commit)
	from  https://github.com/Gnucash/gnucash/commit/7b46466e (commit)



commit 3fc0413e4980aa8ba64827dde48aa884d9243d25
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon May 13 13:13:11 2024 +0800

    [gnc-plugin-page-account-tree.cpp] wrap extern "C" for exposed funcs

diff --git a/gnucash/gnome/gnc-plugin-page-account-tree.cpp b/gnucash/gnome/gnc-plugin-page-account-tree.cpp
index 15f764104b..43d28c6e96 100644
--- a/gnucash/gnome/gnc-plugin-page-account-tree.cpp
+++ b/gnucash/gnome/gnc-plugin-page-account-tree.cpp
@@ -143,8 +143,11 @@ static void gnc_plugin_page_account_tree_double_click_cb (GtkTreeView *treeview,
 static void gnc_plugin_page_account_tree_selection_changed_cb (GtkTreeSelection *selection,
                                                                GncPluginPageAccountTree *page);
 static void accounting_period_changed_cb(gpointer prefs, gchar *pref, gpointer user_data);
+
+extern "C" {
 void gppat_populate_trans_mas_list(GtkToggleButton *sa_mrb, GtkWidget *dialog);
 void gppat_set_insensitive_iff_rb_active(GtkWidget *widget, GtkToggleButton *b);
+}
 
 /* Command callbacks */
 static void gnc_plugin_page_account_tree_cmd_new_account (GSimpleAction *simple, GVariant *paramter, gpointer user_data);



Summary of changes:
 gnucash/gnome/gnc-plugin-page-account-tree.cpp | 3 +++
 1 file changed, 3 insertions(+)



More information about the gnucash-changes mailing list