diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-12-28 18:13:32 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-12-28 18:13:32 (GMT) |
commit | 31e16bd8f386dc292e60489d4a17227804bdc2e6 (patch) | |
tree | 84a81ef8fa45a24351f9e8f2c0e5f2eeb20064c2 /backend/ps/ps-document.c | |
parent | 8fd7569d7f146b1b21365d5afcfb7795756e544f (diff) |
Plugin system for backends. Fixes bug #351348.
2007-12-28 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
* Makefile.am:
* po/POTFILES.in:
* backend/comics/Makefile.am:
* backend/comics/comics-document.[ch]:
* backend/comics/comicsdocument.evince-backend.in:
* backend/djvu/Makefile.am:
* backend/djvu/djvu-document.[ch]:
* backend/djvu/djvudocument.evince-backend.in:
* backend/dvi/Makefile.am:
* backend/dvi/dvi-document.[c]:
* backend/dvi/dvidocument.evince-backend.in:
* backend/impress/Makefile.am:
* backend/impress/impress-document.[ch]:
* backend/impress/impressdocument.evince-backend.in:
* backend/pdf/Makefile.am:
* backend/pdf/ev-poppler.cc:
* backend/pdf/ev-poppler.h:
* backend/pdf/pdfdocument.evince-backend.in:
* backend/pixbuf/Makefile.am:
* backend/pixbuf/pixbuf-document.[ch]:
* backend/pixbuf/pixbufdocument.evince-backend.in:
* backend/ps/Makefile.am:
* backend/ps/ev-spectre.[ch]:
* backend/ps/ps-document.[ch]:
* backend/ps/psdocument.evince-backend.in:
* backend/tiff/Makefile.am:
* backend/tiff/tiff-document.[ch]:
* backend/tiff/tiffdocument.evince-backend.in:
* libdocument/Makefile.am:
* libdocument/ev-backends-manager.[ch]:
* libdocument/ev-module.[ch]:
* libdocument/ev-document.h:
* libdocument/ev-document-factory.[ch]:
(gdk_pixbuf_mime_type_list), (mime_type_supported_by_gdk_pixbuf),
(get_compression_from_mime_type), (get_document_from_uri),
(ev_document_factory_get_document), (file_filter_add_mime_types),
(ev_document_factory_add_filters):
* shell/Makefile.am:
* shell/ev-window-title.c: (get_filename_from_uri):
* shell/main.c: (main):
* thumbnailer/Makefile.am:
* thumbnailer/evince-thumbnailer.c: (main):
Plugin system for backends. Fixes bug #351348.
svn path=/trunk/; revision=2786
Diffstat (limited to 'backend/ps/ps-document.c')
-rw-r--r-- | backend/ps/ps-document.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/backend/ps/ps-document.c b/backend/ps/ps-document.c index 61f07ab..abe8192 100644 --- a/backend/ps/ps-document.c +++ b/backend/ps/ps-document.c @@ -74,10 +74,8 @@ static void ps_interpreter_page_rendered (PSInterpreter GdkPixbuf *pixbuf, PSDocument *ps_document); -G_DEFINE_TYPE_WITH_CODE (PSDocument, ps_document, G_TYPE_OBJECT, +EV_BACKEND_REGISTER_WITH_CODE (PSDocument, ps_document, { - G_IMPLEMENT_INTERFACE (EV_TYPE_DOCUMENT, - ps_document_document_iface_init); G_IMPLEMENT_INTERFACE (EV_TYPE_DOCUMENT_THUMBNAILS, ps_document_document_thumbnails_iface_init); G_IMPLEMENT_INTERFACE (EV_TYPE_FILE_EXPORTER, |