blob: 9dcfeadaa41fd063fb8875acc0e282cf664bb25f (
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.3 2008/05/30 17:32:28 drochner Exp $
--- src/playlist3.c.orig 2007-11-29 14:52:03.000000000 +0100
+++ src/playlist3.c
@@ -146,10 +146,12 @@ int pl3_cat_get_selected_browser()
static 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 >= 0)
{
GtkWidget *container = glade_xml_get_widget(pl3_xml, "browser_container");
|