]> www.fi.muni.cz Git - evince.git/commit
get PDFDoc from GPdfPersistStream, not directly from our embeddable
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>
Mon, 30 Sep 2002 20:48:26 +0000 (20:48 +0000)
committerMartin Kretzschmar <mkretzschmar@src.gnome.org>
Mon, 30 Sep 2002 20:48:26 +0000 (20:48 +0000)
commit4b00949a4ac2bb998bc636338709a3a16e30de57
tree3b6495e21c8fd54e34ef12f9fe97ba051cfa515b
parentcb4589332b9121f50118d49053e4a23f4d582423
get PDFDoc from GPdfPersistStream, not directly from our embeddable

* xpdf/pdf-view.cc: get PDFDoc from GPdfPersistStream, not
directly from our embeddable (various places).

* xpdf/Makefile.am: fix gui variable, add gpdf-persist-stream
files

* xpdf/bonobo-application-x-pdf.cc: include GlobalParams.h,
(embeddable_factory): create a GPdfPersistStream first, then
create an embeddable.

* xpdf/gpdf-embeddable.cc (bed_free_data): move to
gpdf-persist-stream.cc as delete_pdf_doc_full
(load_pdf_from_stream): move to gpdf-persist-stream.cc
(finalize): free priv field
(class_init): kill pdf_changed signal, GPdfPersistStream has
set_pdf signal, use finalize
(gpdf_embeddable_add_interfaces): kill
(gpdf_embeddable_construct): take GPdfPersistStream param,
use bonobo_object_add_interface not gpdf_embeddable_add_intf
(gpdf_embeddable_new): take GPdfPersistStream param

* xpdf/gpdf-embeddable.h: remove extern "C" around bonobo
includes, they protect themselves. Introduce private struct,
still public. Use GPdfPersistStream

* xpdf/gpdf-persist-stream.cc, xpdf/gpdf-persist-stream.h:
files for new GPdfPersistStream class. Contains PDF loading code

* xpdf/BonoboStream.h: hide GList before including gnome headers
pdf/xpdf/Makefile.am