PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ pgui_set_dumper_configs_from_options_ui()

static void pgui_set_dumper_configs_from_options_ui ( )
static

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

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