PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ pgui_set_dumper_configs_from_options_ui()

static void pgui_set_dumper_configs_from_options_ui ( )
static

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

834 {
835  GtkTreeIter iter;
836  gboolean is_valid;
837  gpointer gptr;
838  SHPDUMPERCONFIG *dumper_table_config;
839 
840  /* First update the global (template) configuration */
842 
843  /* Now also update the same settings for any existing tables already added. We
844  do this by looping through all entries and updating their config too. */
845  is_valid = gtk_tree_model_get_iter_first(GTK_TREE_MODEL(export_table_list_store), &iter);
846  while (is_valid)
847  {
848  /* Get the SHPDUMPERCONFIG for this file entry */
849  gtk_tree_model_get(GTK_TREE_MODEL(export_table_list_store), &iter, EXPORT_POINTER_COLUMN, &gptr, -1);
850  dumper_table_config = (SHPDUMPERCONFIG *)gptr;
851 
852  /* Update it */
854 
855  /* Get next entry */
856  is_valid = gtk_tree_model_iter_next(GTK_TREE_MODEL(export_table_list_store), &iter);
857  }
858 
859  return;
860 }
static void update_dumper_config_globals_from_options_ui(SHPDUMPERCONFIG *config)
@ EXPORT_POINTER_COLUMN
GtkListStore * export_table_list_store
Definition: shp2pgsql-gui.c:80
static SHPDUMPERCONFIG * global_dumper_config

References EXPORT_POINTER_COLUMN, export_table_list_store, global_dumper_config, and update_dumper_config_globals_from_options_ui().

Referenced by pgui_action_dumper_options_close().

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