freebsd-ports/math/gnumeric2/files/patch-src_dialogs_dialog-sheet-order.c
2003-09-25 21:28:25 +00:00

19 lines
529 B
C

--- src/dialogs/dialog-sheet-order.c.orig Mon Sep 15 01:40:38 2003
+++ src/dialogs/dialog-sheet-order.c Thu Sep 25 17:27:10 2003
@@ -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);