[gnumeric] compilation: fixup after last solver changes.
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnumeric] compilation: fixup after last solver changes.
- Date: Sun, 1 Nov 2009 23:35:42 +0000 (UTC)
commit 70ddfabfb2fcef30144332721e7a0ccbacd871e9
Author: Morten Welinder <terra gnome org>
Date: Sun Nov 1 18:35:13 2009 -0500
compilation: fixup after last solver changes.
plugins/lpsolve/Makefile.am | 2 +-
plugins/lpsolve/lpsolve-write.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plugins/lpsolve/Makefile.am b/plugins/lpsolve/Makefile.am
index 88bcca0..d07528b 100644
--- a/plugins/lpsolve/Makefile.am
+++ b/plugins/lpsolve/Makefile.am
@@ -9,7 +9,7 @@ gnumeric_plugin_lpsolve_LTLIBRARIES = lpsolve.la
lpsolve_la_LDFLAGS = -module $(GNUMERIC_PLUGIN_LDFLAGS)
lpsolve_la_SOURCES = \
boot.h boot.c \
- lpsolve-write.h lpsolve-write.c
+ lpsolve-write.c
xml_in_files = plugin.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
diff --git a/plugins/lpsolve/lpsolve-write.c b/plugins/lpsolve/lpsolve-write.c
index 60858af..8217ae7 100644
--- a/plugins/lpsolve/lpsolve-write.c
+++ b/plugins/lpsolve/lpsolve-write.c
@@ -24,6 +24,7 @@
#include <workbook.h>
#include <value.h>
#include <cell.h>
+#include <expr.h>
#include <solver.h>
#include <ranges.h>
#include <parse-util.h>
@@ -158,7 +159,7 @@ lpsolve_create_program (Sheet *sheet, GError **err)
/* This is insane */
{
GnmValue const *vr =
- gnm_expr_top_get_constant (sheet, sp->input.texpr);
+ gnm_expr_top_get_constant (sp->input.texpr);
GnmEvalPos ep;
g_slist_free (sp->input_cells);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]