From 7ee3f43037bef40e78b0d792bfbafd4d9cfd42f8 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Sat, 11 Jan 2020 13:54:56 +0000 Subject: [PATCH] Bug 797566 - Crash on use of context menu in importer If the context menu key is used on the "Assign transfer account page" the application will crash. This was down to the call back function gnc_gen_trans_onPopupMenu_cb being defined with a second parameter of GdkEvent but it should not have, removing this fixes the bug. --- gnucash/import-export/import-main-matcher.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gnucash/import-export/import-main-matcher.c b/gnucash/import-export/import-main-matcher.c index 34320bc8fb..dcc228ed70 100644 --- a/gnucash/import-export/import-main-matcher.c +++ b/gnucash/import-export/import-main-matcher.c @@ -124,7 +124,6 @@ static gboolean gnc_gen_trans_onButtonPressed_cb ( GNCImportMainMatcher *info); static gboolean gnc_gen_trans_onPopupMenu_cb ( GtkTreeView *treeview, - GdkEvent *event, GNCImportMainMatcher *info); static void refresh_model_row ( GNCImportMainMatcher *gui, @@ -651,7 +650,6 @@ gnc_gen_trans_onButtonPressed_cb (GtkTreeView *treeview, static gboolean gnc_gen_trans_onPopupMenu_cb (GtkTreeView *treeview, - GdkEvent *event, GNCImportMainMatcher *info) { GtkTreeSelection *selection;