]> matita.cs.unibo.it Git - helm.git/commitdiff
load_document(_,NULL) => unload
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 22 Mar 2004 17:46:00 +0000 (17:46 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 22 Mar 2004 17:46:00 +0000 (17:46 +0000)
helm/DEVEL/mathml_editor/test/guiGTK.c

index 87be3d88c2992f85c856abf9ff8a133a2cec2946..e67977f31f2395d647b6f5a64361d4e41b55b766 100644 (file)
@@ -207,7 +207,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;