PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ pgui_action_handle_table_remove()

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

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

1399 {
1400  GtkTreeIter iter;
1401  SHPDUMPERCONFIG *dumper_table_config;
1402  gpointer gptr;
1403 
1404  /* Grab the SHPDUMPERCONFIG from the EXPORT_POINTER_COLUMN for the list store */
1405  gtk_tree_model_get_iter_from_string(GTK_TREE_MODEL(export_table_list_store), &iter, path);
1406  gtk_tree_model_get(GTK_TREE_MODEL(export_table_list_store), &iter, EXPORT_POINTER_COLUMN, &gptr, -1);
1407  dumper_table_config = (SHPDUMPERCONFIG *)gptr;
1408 
1409  /* Free the configuration from memory */
1410  free_dumper_config(dumper_table_config);
1411 
1412  /* Remove the row from the list */
1413  gtk_list_store_remove(export_table_list_store, &iter);
1414 }
@ EXPORT_POINTER_COLUMN
GtkListStore * export_table_list_store
Definition: shp2pgsql-gui.c:80
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: