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

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