changeset 967:eb5dbdff14f6

Move variable declaration at start of block.
author zas_
date Sun, 17 Aug 2008 09:00:33 +0000
parents c24a297efbef
children 065a129fd42b
files src/view_file_icon.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/view_file_icon.c	Sat Aug 16 23:37:26 2008 +0000
+++ b/src/view_file_icon.c	Sun Aug 17 09:00:33 2008 +0000
@@ -378,6 +378,7 @@
 	gint column;
 	GList *list;
 	guint toggled_mark;
+	IconData *id;
 
 	store = gtk_tree_view_get_model(GTK_TREE_VIEW(vf->listview));
 	if (!path || !gtk_tree_model_get_iter(store, &row, path))
@@ -388,8 +389,7 @@
 	column = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(cell), "column_number"));
 	g_object_get(G_OBJECT(cell), "toggled_mark", &toggled_mark, NULL);
 
-	IconData *id = g_list_nth_data(list, column);
-	
+	id = g_list_nth_data(list, column);
 	if (id)
 		{
 		FileData *fd = id->fd;