[gnumeric] solver: fix GList vs. GSlist confusion (and thus crash).
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] solver: fix GList vs. GSlist confusion (and thus crash).
- Date: Sun, 8 Nov 2009 16:33:03 +0000 (UTC)
commit 3a0eaf845d32377f17d1f7cec7ec81aea8c18ca6
Author: Morten Welinder <terra gnome org>
Date: Sun Nov 8 11:32:07 2009 -0500
solver: fix GList vs. GSlist confusion (and thus crash).
NEWS | 1 +
src/tools/solver/ChangeLog | 4 ++++
src/tools/solver/solver.c | 4 ++--
3 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index e26d312..fca1d25 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ Jody:
Morten:
* Resurrect long-double support.
+ * More solver fixes.
--------------------------------------------------------------------------
Gnumeric 1.9.15
diff --git a/src/tools/solver/ChangeLog b/src/tools/solver/ChangeLog
index 34fc58f..218e72d 100644
--- a/src/tools/solver/ChangeLog
+++ b/src/tools/solver/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-08 Morten Welinder <terra gnome org>
+
+ * solver.c (cb_grab_cells): Fix GList vs. GSList confusion.
+
2009-11-02 Morten Welinder <terra gnome org>
* solver.c (gnm_solver_param_get_input_cells): Fix crash.
diff --git a/src/tools/solver/solver.c b/src/tools/solver/solver.c
index 85c859e..6ce54fb 100644
--- a/src/tools/solver/solver.c
+++ b/src/tools/solver/solver.c
@@ -119,13 +119,13 @@ gnm_solver_param_set_input (SolverParameters *sp, GnmValue *v)
static GnmValue *
cb_grab_cells (GnmCellIter const *iter, gpointer user)
{
- GList **the_list = user;
+ GSList **the_list = user;
GnmCell *cell;
if (NULL == (cell = iter->cell))
cell = sheet_cell_create (iter->pp.sheet,
iter->pp.eval.col, iter->pp.eval.row);
- *the_list = g_list_append (*the_list, cell);
+ *the_list = g_slist_append (*the_list, cell);
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]