/* This function can be called from gtk_tree_view_column_set_cell_data_func() The user data must be the column number. Renders the const static string whose pointer is stored.  */
void str_ptr_data_func(GtkTreeViewColumn *column _U_, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
/* This function can be called from gtk_tree_view_column_set_cell_data_func() The user data must be the column number. Renders the const static string whose pointer is stored.  */
void str_ptr_data_func(GtkTreeViewColumn *column _U_, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
{
    const gchar *str = NULL;
    gint data_column = GPOINTER_TO_INT(user_data);
    gtk_tree_model_get(model, iter, data_column, &str, -1);
    g_object_set(renderer, "text", str, NULL);
}