[goffice] Bump lasem version requirement to 0.1.1. Adapt to the API change.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: svn-commits-list gnome org
- Subject: [goffice] Bump lasem version requirement to 0.1.1. Adapt to the API change.
- Date: Mon, 11 May 2009 15:43:55 -0400 (EDT)
commit c3aa9c9b2a833f72e63c2e7f3feaa1d38ea9203d
Author: Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
Date: Mon May 11 21:43:24 2009 +0200
Bump lasem version requirement to 0.1.1. Adapt to the API change.
* configure.in: here.
* goffice/graph/gog-equation.c: use lsm_dom_view_get_size instead of
lsm_dom_view_measure.
---
ChangeLog | 8 ++++++++
configure.in | 4 ++--
goffice/graph/gog-equation.c | 2 +-
3 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e330597..bc75db0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-05-11 Emmanuel Pacaud <emmanuel pacaud lapp in2p3 fr>
+
+ Bump lasem version requirement to 0.1.1. Adapt to the API change.
+
+ * configure.in: here.
+ * goffice/graph/gog-equation.c: use lsm_dom_view_get_size instead of
+ lsm_dom_view_measure.
+
2009-05-11 Jean Brefort <jean brefort normalesup org>
* goffice/graph/gog-series.c (gog_series_class_init): always save
diff --git a/configure.in b/configure.in
index 02a9d59..0924879 100644
--- a/configure.in
+++ b/configure.in
@@ -123,12 +123,12 @@ dnl ***********************
goffice_with_lasem=false
AC_ARG_WITH(lasem, [ --with-lasem Build with lasem use])
if test "x$with_lasem" = xyes; then
- PKG_CHECK_MODULES(Lasem, lasem >= 0.0.1)
+ PKG_CHECK_MODULES(Lasem, lasem >= 0.1.1)
goffice_with_lasem=true
fi
if test "x$goffice_with_lasem" = "xtrue" ; then
AC_DEFINE(GOFFICE_WITH_LASEM, 1, [Define if Lasem is used])
- goffice_reqs="$goffice_reqs lasem >= 0.0.1 "
+ goffice_reqs="$goffice_reqs lasem >= 0.1.1 "
EXTRA_DEPS="$EXTRA_DEPS lasem"
fi
diff --git a/goffice/graph/gog-equation.c b/goffice/graph/gog-equation.c
index 1ac09a2..77f47d9 100644
--- a/goffice/graph/gog-equation.c
+++ b/goffice/graph/gog-equation.c
@@ -398,7 +398,7 @@ gog_equation_view_size_request (GogView *view,
lsm_dom_view_set_document (LSM_DOM_VIEW (equation_view->mathml_view),
LSM_DOM_DOCUMENT (equation->mathml));
- lsm_dom_view_measure (LSM_DOM_VIEW (equation_view->mathml_view), &width, &height);
+ lsm_dom_view_get_size (LSM_DOM_VIEW (equation_view->mathml_view), &width, &height);
requisition->w = gog_renderer_pt2r_x (view->renderer, width);
requisition->h = gog_renderer_pt2r_y (view->renderer, height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]