$NetBSD: patch-ba,v 1.1 2005/12/18 21:03:46 rillig Exp $ Keywords: c90 --- src/display_playlists.c.orig Fri Jun 24 18:17:18 2005 +++ src/display_playlists.c Sun Dec 18 21:12:39 2005 @@ -1142,6 +1142,11 @@ void pm_add_playlist (Playlist *playlist (useful when quitting program) */ void pm_remove_playlist (Playlist *playlist, gboolean select) { + GtkTreeModel *model; + gboolean have_iter = FALSE; + GtkTreeIter i; + GtkTreeSelection *ts = NULL; + gboolean pm_delete_playlist_fe (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, @@ -1156,10 +1161,6 @@ void pm_remove_playlist (Playlist *playl } return FALSE; }; - GtkTreeModel *model; - gboolean have_iter = FALSE; - GtkTreeIter i; - GtkTreeSelection *ts = NULL; g_return_if_fail (playlist); model = gtk_tree_view_get_model (playlist_treeview);