X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Ftest%2FguiGTK.c;h=e67977f31f2395d647b6f5a64361d4e41b55b766;hb=5325734bc2e4927ed7ec146e35a6f0f2b49f50c1;hp=c3f7cd84ffecca448c1aad8cf4904140b6acb6cf;hpb=cbbd558e6b6053cf643973973515c29c8c6bdb6e;p=helm.git diff --git a/helm/DEVEL/mathml_editor/test/guiGTK.c b/helm/DEVEL/mathml_editor/test/guiGTK.c index c3f7cd84f..e67977f31 100644 --- a/helm/DEVEL/mathml_editor/test/guiGTK.c +++ b/helm/DEVEL/mathml_editor/test/guiGTK.c @@ -86,7 +86,6 @@ static GtkItemFactoryEntry menu_items[] = { { "/Options/Verbosity/_Warnings", NULL, options_verbosity, 1, "/Options/Verbosity/Errors" }, { "/Options/Verbosity/_Info", NULL, options_verbosity, 2, "/Options/Verbosity/Errors" }, { "/Options/Verbosity/_Debug", NULL, options_verbosity, 3, "/Options/Verbosity/Errors" }, - { "/Options/sep1", NULL, NULL, 0, "" }, { "/_Help" , NULL, NULL, 0, "" }, { "/Help/About...", NULL, help_about, 0, NULL } @@ -208,7 +207,7 @@ GUI_unload_document() math_view = GTK_MATH_VIEW(main_area); - gtk_math_view_load_root(math_view, 0); + gtk_math_view_unload(math_view); if (doc_name != NULL) g_free(doc_name); doc_name = NULL; @@ -628,7 +627,6 @@ create_widget_set(gpointer context) gtk_box_pack_start(GTK_BOX(main_vbox), scrolled_area, TRUE, TRUE, 0); gtk_widget_show(main_vbox); - } GtkWidget*