Reformat assistant-qif-import.c source file part2/4

This commit is contained in:
Robert Fewell 2019-05-07 15:42:16 +01:00
parent aa5601b432
commit 2e105c94e7

View File

@ -1189,9 +1189,8 @@ gnc_ui_qif_import_duplicate_new_select_cb(GtkTreeSelection *selection,
GtkTreeIter iter; GtkTreeIter iter;
if (gtk_tree_selection_get_selected (selection, &model, &iter)) if (gtk_tree_selection_get_selected (selection, &model, &iter))
gtk_tree_model_get(model, &iter, gtk_tree_model_get (model, &iter, QIF_TRANS_COL_INDEX,
QIF_TRANS_COL_INDEX, &wind->selected_transaction, &wind->selected_transaction, -1);
-1);
refresh_old_transactions (wind, -1); refresh_old_transactions (wind, -1);
} }
@ -1237,9 +1236,7 @@ gnc_ui_qif_import_duplicate_old_select_cb(GtkTreeSelection *selection,
/* Get the row the user clicked on and update the scheme /* Get the row the user clicked on and update the scheme
* code/rebuild the list store. */ * code/rebuild the list store. */
gtk_tree_model_get(model, &iter, gtk_tree_model_get (model, &iter, QIF_TRANS_COL_INDEX, &row, -1);
QIF_TRANS_COL_INDEX, &row,
-1);
refresh_old_transactions (wind, row); refresh_old_transactions (wind, row);
} }
@ -1566,7 +1563,6 @@ gnc_ui_qif_import_load_file_complete (GtkAssistant *assistant,
return TRUE; return TRUE;
} }
} }
/* Stay on this page. */ /* Stay on this page. */
return FALSE; return FALSE;
} }
@ -1958,7 +1954,6 @@ gnc_ui_qif_import_load_progress_start_cb(GtkButton * button,
if (wind->load_stop == FALSE) if (wind->load_stop == FALSE)
{ {
/* Auto step to next page */ /* Auto step to next page */
gtk_assistant_set_current_page (assistant, num + 1); gtk_assistant_set_current_page (assistant, num + 1);
} }