Skip to content

Commit

Permalink
[gnc-plugin-page-account-tree.cpp] wrap extern "C" for exposed funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherlam committed May 13, 2024
1 parent 7b46466 commit 3fc0413
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gnucash/gnome/gnc-plugin-page-account-tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3fc0413

Please sign in to comment.