]> www.fi.muni.cz Git - evince.git/commitdiff
new test.
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>
Sun, 25 May 2003 13:34:01 +0000 (13:34 +0000)
committerMartin Kretzschmar <mkretzschmar@src.gnome.org>
Sun, 25 May 2003 13:34:01 +0000 (13:34 +0000)
* xpdf/tests/test-pdf-loading.cc: new test.

* xpdf/tests/Makefile.am (TESTS_NEEDING_PDFTEX): add
test-pdf-loading.

* xpdf/Makefile.am (libgpdf_a_SOURCES): move more files to the lib.

* xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_length):
kill.
(gpdf_persist_stream_delete_doc_and_stream): rename from
delete_pdf_doc_full, simplify.
(load_pdf_from_stream): make priv->pdf_stream local to this method,
kill redundant test for catalog.

* xpdf/gpdf-persist-stream.h (gpdf_persist_stream_get_length):
kill.

* xpdf/gpdf-control.cc (verb_FileProperties_cb): remove file size
argument.

* xpdf/nautilus-pdf-property-page.cc
(gpdf_nautilus_property_page_set_uri): ditto.

* xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): kill
file size parameter.

* xpdf/pdf-info-dict-util.h: ditto.

* xpdf/pdf-properties-display.c: kill traces of the file size
label.

pdf/xpdf/Makefile.am

index 66f4e6fb79e1083c95640b7f5abd88a51e510aa6..bf21a2b188dec84e87db65ae124810019dff1ff3 100644 (file)
@@ -117,25 +117,25 @@ common_sources =          \
        UTF8.h
 
 libgpdf_a_SOURCES =                    \
+       BonoboStream.cc                 \
+       BonoboStream.h                  \
+       GnomeVFSStream.cc               \
+       GnomeVFSStream.h                \
        gpdf-link-canvas-item.cc        \
        gpdf-link-canvas-item.h         \
        gpdf-links-canvas-layer.cc      \
-       gpdf-links-canvas-layer.h
+       gpdf-links-canvas-layer.h       \
+       gpdf-persist-stream.cc          \
+       gpdf-persist-stream.h
 
 gnome_pdf_viewer_SOURCES =             \
        $(common_sources)               \
-       BonoboStream.cc                 \
-       BonoboStream.h                  \
-       GnomeVFSStream.cc               \
-       GnomeVFSStream.h                \
        GPOutputDev.cc                  \
        GPOutputDev.h                   \
        bonobo-application-x-pdf.cc     \
        gpdf-control.cc                 \
        gpdf-control.h                  \
        gpdf-g-switch.h                 \
-       gpdf-persist-stream.cc          \
-       gpdf-persist-stream.h           \
        gpdf-stock-icons.c              \
        gpdf-stock-icons.h              \
        gpdf-util.h                     \