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

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