-Dom::Document *
-gtk_math_view_bonobo_data_construct(Dom::Document *data_file)
-{
- BonoboObject *retval;
- BonoboPersistFile *file;
-
- file = bonobo_persist_file_new(gtk_math_view_load_from_file,
- gtk_math_view_save_to_file,
- "OAFIID:GNOME_MATH_VIEW_FILE_Control",
- data_file);
-
- if(file == NULL)
- {
- bonobo_object_unref(BONOBO_OBJECT (data_file));
- return NULL;
- }
-
- bonobo_object_add_interface(BONOBO_OBJECT(data_file),
- BONOBO_OBJECT(file));
- return data_file;
-}
-
-
-}
-
-
-static gint
-gtk_math_view_bonobo_load_from_file(BonoboPresistFile *pf,
- const CORBA_char *filename,
- CORBA_Environment *ev,
- void *closure)