diff options
author | Martin Kretzschmar <mkretzschmar@src.gnome.org> | 2003-05-29 11:08:28 (GMT) |
---|---|---|
committer | Martin Kretzschmar <mkretzschmar@src.gnome.org> | 2003-05-29 11:08:28 (GMT) |
commit | b14e1f7d0f1ef046ab08bc114cec7dac6c89bd2c (patch) | |
tree | 41cdac39b0d129e416604903ccc2042283e71ae7 /pdf/goo | |
parent | 6213f5b03d5d21c7609db00156b2725290d44167 (diff) |
add tests for GPdfControl
* xpdf/tests/test-gpdf-control.cc: add tests for GPdfControl
* xpdf/tests/Makefile.am, xpdf/tests/.cvsignore: add
test-gpdf-control
* xpdf/gpdf-control.cc: use BONOBO_CLASS_BOILERPLATE.
(gpdf_control_new, gpdf_control_construct): kill, use construct
time properties.
(gpdf_control_class_init): install constructor, properties
persist-stream and persist-file.
(gpdf_control_constructor): constructor impl.
(gpdf_control_setup_page_control, gpdf_control_setup_zoomable)
(gpdf_control_setup_view_widgets): renamed from gc_setup_foo.
(gpdf_control_setup_persist): ditto, connect to PersistFile, too.
(gpdf_control_set_property): impl.
(persist_file_set_pdf_cb): signal callback.
(persist_stream_set_pdf_cb): renamed from gc_set_pdf_cb.
(gpdf_control_pdf_doc_changed): factored out from gc_set_pdf_cb.
(verb_FileProperties_cb): get PDFDoc from priv.
* xpdf/gpdf-control.h: kill gpdf_control_new and _construct,
* xpdf/bonobo-application-x-pdf.cc (gpdf_factory): also give the
control a PersistFile implementation
* xpdf/Makefile.am: moved more code into libgpdf.a.
* xpdf/GNOME_PDF.server.in.in: state that we implement
Bonobo/PersistFile.
* shell/gpdf.c (bonobo_stream_for_uri): kill.
(gw_control_load_pdf): changed to load through PersistFile.
Diffstat (limited to 'pdf/goo')
0 files changed, 0 insertions, 0 deletions