PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void pgui_set_dumper_configs_from_options_ui ( )
static

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

References EXPORT_POINTER_COLUMN, export_table_list_store, and update_dumper_config_globals_from_options_ui().

Referenced by pgui_action_dumper_options_close().

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

Here is the call graph for this function:

Here is the caller graph for this function: