PostGIS 3.7.0dev-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 837 of file shp2pgsql-gui.c.

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