summaryrefslogtreecommitdiff
blob: 3c991ddb914984b75c554b11f571d55154d285c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -Naur gnumeric-1.2.0.orig/src/dialogs/dialog-sheet-order.c gnumeric-1.2.0/src/dialogs/dialog-sheet-order.c
--- gnumeric-1.2.0.orig/src/dialogs/dialog-sheet-order.c	2003-09-15 01:40:38.000000000 -0400
+++ gnumeric-1.2.0/src/dialogs/dialog-sheet-order.c	2003-09-20 06:35:59.000000000 -0400
@@ -106,6 +106,7 @@
 static gint
 location_of_iter (GtkTreeIter  *iter, GtkListStore *model)
 {
+	gint loc;
 	/* Note: in gtk 2.2 we could just do: */
 /* 	gchar* path = gtk_tree_model_get_string_from_iter */
 /* 		(GTK_TREE_MODEL (model), iter); */
@@ -117,7 +118,7 @@
 	gtk_tree_path_free (treepath);
 	/* end of gtk 2.0 code */
 
-	gint loc = atoi(path);
+	loc = atoi(path);
 	
 	g_free (path);