rem: gtk_list_store_remove (GTK_LIST_STORE (model), iter);
add: GtkPlaylist *playlist = (GtkPlaylist *)data; GtkTreeRowReference *ref;  D("gtk_playlist_foreach_selected"); #ifdef DEBUG_PL_ENABLE { char *file;  gtk_tree_model_get (model, iter, URI_COL, &file, -1); g_message ("removing path: %s", file); g_free (file); } #endif  ref = gtk_tree_row_reference_new (playlist->_priv->model, path); playlist->_priv->list = g_list_prepend (playlist->_priv->list, (gpointer) ref);
context: gtk_playlist_foreach_selected (GtkTreeModel *model, GtkTreePath *path,		GtkTreeIter *iter, gpointer data){	gtk_list_store_remove (GTK_LIST_STORE (model), iter);}