summaryrefslogtreecommitdiff
path: root/audio/gmpc/patches/patch-af
blob: 0d5965c1e582bd67b3255b8c49af06553968acea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-af,v 1.2 2006/04/07 17:40:22 rpaulo Exp $

--- src/playlist3.c.orig	2006-02-15 21:09:17.000000000 +0000
+++ src/playlist3.c	2006-04-06 21:51:40.000000000 +0100
@@ -105,10 +105,12 @@ int  pl3_cat_get_selected_browser()
 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)