X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Ftest%2FguiGTK.c;h=ce6c31ef227b078c4d9eec664879372115727999;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=87be3d88c2992f85c856abf9ff8a133a2cec2946;hpb=f71c2a9890c7e2443f7fa46df385053f354240a5;p=helm.git diff --git a/helm/DEVEL/mathml_editor/test/guiGTK.c b/helm/DEVEL/mathml_editor/test/guiGTK.c index 87be3d88c..ce6c31ef2 100644 --- a/helm/DEVEL/mathml_editor/test/guiGTK.c +++ b/helm/DEVEL/mathml_editor/test/guiGTK.c @@ -28,7 +28,6 @@ #include #include -#include #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; } @@ -207,7 +206,7 @@ GUI_unload_document() math_view = GTK_MATH_VIEW(main_area); - gtk_math_view_load_root(math_view, NULL); + gtk_math_view_unload(math_view); if (doc_name != NULL) g_free(doc_name); doc_name = NULL;