From: Luca Padovani <luca.padovani@unito.it>
Date: Sat, 31 Jul 2004 12:30:58 +0000 (+0000)
Subject: * porting to gtkmathview 0.6.3
X-Git-Tag: V_0_6_3_2~7
X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=a205a15c75ad835facda0f6949f484787e9940a8;p=helm.git

* porting to gtkmathview 0.6.3
---

diff --git a/helm/DEVEL/mathml_editor/configure.ac b/helm/DEVEL/mathml_editor/configure.ac
index 8781d5c3f..e1972fd90 100644
--- a/helm/DEVEL/mathml_editor/configure.ac
+++ b/helm/DEVEL/mathml_editor/configure.ac
@@ -100,7 +100,7 @@ PKG_CHECK_MODULES(GDOMEXSLT,gdome2-xslt-cpp-smart)
 AC_SUBST(GDOMEXSLT_CFLAGS)
 AC_SUBST(GDOMEXSLT_LIBS)
 
-PKG_CHECK_MODULES(GTKMATHVIEW,gtkmathview)
+PKG_CHECK_MODULES(GTKMATHVIEW,gtkmathview-gmetadom)
 AC_SUBST(GTKMATHVIEW_CFLAGS)
 AC_SUBST(GTKMATHVIEW_LIBS)
 
diff --git a/helm/DEVEL/mathml_editor/test/guiGTK.c b/helm/DEVEL/mathml_editor/test/guiGTK.c
index e67977f31..ce6c31ef2 100644
--- a/helm/DEVEL/mathml_editor/test/guiGTK.c
+++ b/helm/DEVEL/mathml_editor/test/guiGTK.c
@@ -28,7 +28,6 @@
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 
-#include <gtkmathview.h>
 #include "guiGTK.h"
 
 #define XLINK_NS_URI "http://www.w3.org/1999/xlink"
@@ -180,7 +179,7 @@ GUI_load_document(GdomeDocument* doc)
 
   math_view = GTK_MATH_VIEW(main_area);
 
-  if (!gtk_math_view_load_doc(math_view, doc)) return -1;
+  if (!gtk_math_view_load_document(math_view, doc)) return -1;
 
   return 0;
 }
diff --git a/helm/DEVEL/mathml_editor/test/guiGTK.h b/helm/DEVEL/mathml_editor/test/guiGTK.h
index d1d68dcaa..ee0ab347e 100644
--- a/helm/DEVEL/mathml_editor/test/guiGTK.h
+++ b/helm/DEVEL/mathml_editor/test/guiGTK.h
@@ -29,7 +29,7 @@
 #include <glib.h>
 #include <gdome.h>
 
-#include <gtkmathview.h>
+#include <gtk/gtkmathview_gmetadom.h>
 
 #ifdef __cplusplus
 extern "C" {