#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
-#include <gtkmathview.h>
#include "guiGTK.h"
#define XLINK_NS_URI "http://www.w3.org/1999/xlink"
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;
}
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;