openbsd-ports/audio/gmpc/patches/patch-src-playlist3_c
jasper 3058d09634 import gmpc 0.13.0
GMPC is a frontend for the mpd (Music Player Daemon).  It's focused on
being fast and easy to use, while still making optimal use of all the
functions in mpd.

from Pierre-Yves Ritschard <pyr at spootnik dot org>

feedback and ok steven
2006-10-27 14:11:16 +00:00

18 lines
640 B
Plaintext

--- src/playlist3.c.orig Wed Oct 25 19:26:07 2006
+++ src/playlist3.c Wed Oct 25 19:27:03 2006
@@ -105,10 +105,12 @@
void pl3_initialize_tree()
{
int i;
+ GtkTreePath *path;
+ GtkTreeSelection *sel;
if(pl3_xml == NULL) return;
- GtkTreePath *path = gtk_tree_path_new_from_string("0");
- GtkTreeSelection *sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(glade_xml_get_widget(pl3_xml, "cat_tree")));
+ path = gtk_tree_path_new_from_string("0");
+ sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(glade_xml_get_widget(pl3_xml, "cat_tree")));
if((old_type&PLUGIN_ID_MARK || old_type&PLUGIN_ID_INTERNALL) != 0)
{
if(old_type >= 0)