diff options
author | Antony Kellermann | 2018-08-20 17:49:23 -0400 |
---|---|---|
committer | Antony Kellermann | 2018-08-20 17:49:23 -0400 |
commit | 7795954db79f2e837988d1b09e91217bf05aa05b (patch) | |
tree | 0be7f7d246d9d40cb638361d3f36107fc2908d58 /gtk_win.c | |
parent | 313749a4480b760875b290f901f5071188700418 (diff) | |
download | aur-7795954db79f2e837988d1b09e91217bf05aa05b.tar.gz |
Implemented batch calls
Diffstat (limited to 'gtk_win.c')
-rw-r--r-- | gtk_win.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk_win.c b/gtk_win.c index 8a3da9157609..51fa3130f07f 100644 --- a/gtk_win.c +++ b/gtk_win.c @@ -129,7 +129,7 @@ void on_load_button_clicked(GtkButton* button) { app.portfolio_data = portfolio_info_array_init_from_portfolio_string(app.portfolio_string); if (app.portfolio_data != NULL) { // If file is not a length 0 JSON array check_list_create_from_string(); - api_info_array_store_check_data(app.portfolio_data); + api_info_array_store_data_batch(app.portfolio_data, CHECK); check_list_add_api_data(); } @@ -410,7 +410,7 @@ void list_store_update(void) { // Recreate Info_Array check_list_create_from_string(); // Will set app.portfolio_data if success if (app.portfolio_data != NULL) { - api_info_array_store_check_data(app.portfolio_data); + api_info_array_store_data_batch(app.portfolio_data, CHECK); check_list_add_api_data(); } } |