diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-09-25 18:28:23 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-09-25 18:28:23 +0000 |
commit | 3a2b634ea7bac8aae1606a4f9dc2979454e394df (patch) | |
tree | 199f784fc0f477fe8cfd4335b67aa7d149b88809 /math | |
parent | 09a414c9c5d0d7f3c20eef37e127890ab991e294 (diff) | |
download | ports-3a2b634ea7bac8aae1606a4f9dc2979454e394df.tar.gz ports-3a2b634ea7bac8aae1606a4f9dc2979454e394df.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/gnumeric2/files/patch-src_dialogs_dialog-sheet-order.c | 16 | ||||
-rw-r--r-- | math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c | 19 |
2 files changed, 16 insertions, 19 deletions
diff --git a/math/gnumeric2/files/patch-src_dialogs_dialog-sheet-order.c b/math/gnumeric2/files/patch-src_dialogs_dialog-sheet-order.c new file mode 100644 index 000000000000..8f5ab3252578 --- /dev/null +++ b/math/gnumeric2/files/patch-src_dialogs_dialog-sheet-order.c @@ -0,0 +1,16 @@ +--- src/dialogs/dialog-sheet-order.c.orig Thu Sep 25 14:22:18 2003 ++++ src/dialogs/dialog-sheet-order.c Thu Sep 25 14:25:48 2003 +@@ -106,12 +106,12 @@ + 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); */ + + /* in gtk 2.0 we need: */ +- gint loc; + GtkTreePath *treepath = gtk_tree_model_get_path + (GTK_TREE_MODEL (model), iter); + gchar* path = gtk_tree_path_to_string (treepath); diff --git a/math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c b/math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c deleted file mode 100644 index c0c1392de52d..000000000000 --- a/math/gnumeric2/files/patch-src_dialogs_dialog_sheet_order.c +++ /dev/null @@ -1,19 +0,0 @@ ---- src/dialogs/dialog-sheet-order.c.orig Thu Sep 25 11:53:53 2003 -+++ src/dialogs/dialog-sheet-order.c Thu Sep 25 11:54:25 2003 -@@ -106,6 +106,8 @@ - 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 +119,7 @@ - gtk_tree_path_free (treepath); - /* end of gtk 2.0 code */ - -- gint loc = atoi(path); -+ loc = atoi(path); - - g_free (path); |