PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ pgui_set_loader_configs_from_options_ui()

static void pgui_set_loader_configs_from_options_ui ( )
static

Definition at line 636 of file shp2pgsql-gui.c.

637 {
638  GtkTreeIter iter;
639  gboolean is_valid;
640  gpointer gptr;
641  SHPLOADERCONFIG *loader_file_config;
642 
643  /* First update the global (template) configuration */
645 
646  /* Now also update the same settings for any existing files already added. We
647  do this by looping through all entries and updating their config too. */
648  is_valid = gtk_tree_model_get_iter_first(GTK_TREE_MODEL(import_file_list_store), &iter);
649  while (is_valid)
650  {
651  /* Get the SHPLOADERCONFIG for this file entry */
652  gtk_tree_model_get(GTK_TREE_MODEL(import_file_list_store), &iter, IMPORT_POINTER_COLUMN, &gptr, -1);
653  loader_file_config = (SHPLOADERCONFIG *)gptr;
654 
655  /* Update it */
657 
658  /* Get next entry */
659  is_valid = gtk_tree_model_iter_next(GTK_TREE_MODEL(import_file_list_store), &iter);
660  }
661 
662  return;
663 }
static void update_loader_config_globals_from_options_ui(SHPLOADERCONFIG *config)
@ IMPORT_POINTER_COLUMN
GtkListStore * import_file_list_store
Definition: shp2pgsql-gui.c:58
static SHPLOADERCONFIG * global_loader_config

References global_loader_config, import_file_list_store, IMPORT_POINTER_COLUMN, and update_loader_config_globals_from_options_ui().

Referenced by pgui_action_loader_options_close().

Here is the call graph for this function:
Here is the caller graph for this function: