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

◆ pgui_action_handle_table_remove()

static void pgui_action_handle_table_remove ( GtkCellRendererToggle *  renderer,
gchar *  path,
gpointer  user_data 
)
static

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

1420{
1421 GtkTreeIter iter;
1422 SHPDUMPERCONFIG *dumper_table_config;
1423 gpointer gptr;
1424
1425 /* Grab the SHPDUMPERCONFIG from the EXPORT_POINTER_COLUMN for the list store */
1426 gtk_tree_model_get_iter_from_string(GTK_TREE_MODEL(export_table_list_store), &iter, path);
1427 gtk_tree_model_get(GTK_TREE_MODEL(export_table_list_store), &iter, EXPORT_POINTER_COLUMN, &gptr, -1);
1428 dumper_table_config = (SHPDUMPERCONFIG *)gptr;
1429
1430 /* Free the configuration from memory */
1431 free_dumper_config(dumper_table_config);
1432
1433 /* Remove the row from the list */
1434 gtk_list_store_remove(export_table_list_store, &iter);
1435}
GtkListStore * export_table_list_store
@ EXPORT_POINTER_COLUMN
static void free_dumper_config(SHPDUMPERCONFIG *config)

References EXPORT_POINTER_COLUMN, export_table_list_store, and free_dumper_config().

Referenced by pgui_create_export_table_table().

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