Skip to content

Commit

Permalink
Remove reference to unused assistant subfield.
Browse files Browse the repository at this point in the history
This did not cause trouble because the only use of this
was in a call to gnc_warning_dialog, which protects against
a NULL pointer.
  • Loading branch information
jwhite66 committed Aug 29, 2023
1 parent 7ce4198 commit f10948d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gnucash/import-export/qif-imp/assistant-qif-import.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ enum qif_trans_cols
struct _qifimportwindow
{
GtkWidget * window;
GtkWidget * assistant;

/* Widgets on the file selection page. */
GtkWidget * filename_entry;
Expand Down Expand Up @@ -2924,7 +2923,7 @@ do_page_check (gpointer user_data)
GtkWidget *page = gtk_assistant_get_nth_page (assistant, num);

gtk_assistant_set_page_complete (assistant, page,
gnc_ui_qif_import_comm_valid (GTK_ASSISTANT(wind->assistant), wind));
gnc_ui_qif_import_comm_valid (assistant, wind));

wind->timeout_id = 0;
return FALSE;
Expand Down

0 comments on commit f10948d

Please sign in to comment.