summaryrefslogtreecommitdiff
path: root/audio/gtkpod/patches/patch-bb
blob: 1d5d720659cd728fb800724c03dfb463fe1413cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-bb,v 1.1 2005/12/18 21:03:46 rillig Exp $

Keywords: c90

--- src/display_sorttabs.c.orig	Fri Jul  1 18:53:43 2005
+++ src/display_sorttabs.c	Sun Dec 18 21:15:48 2005
@@ -2088,12 +2088,14 @@ st_cell_edited (GtkCellRendererText *ren
 	  {
 	      ExtraTrackData *etr;
 	      Track *track = (Track *)g_list_nth_data (members, i);
+	      T_item t_item;
+
 	      g_return_if_fail (track);
 	      etr = track->userdata;
 	      g_return_if_fail (etr);
 	      g_return_if_fail (track->itdb);
 	      if (!itdb) itdb = track->itdb;
-	      T_item t_item = ST_to_T (sorttab[inst]->current_category);
+	      t_item = ST_to_T (sorttab[inst]->current_category);
 	      if (t_item == T_YEAR)
 	      {
 		  gint nr = atoi (new_text);