diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-03-30 22:20:35 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-03-30 22:20:35 (GMT) |
commit | 67a923a1096f1e9765a5d804e4fb9fac39bcfcf2 (patch) | |
tree | 66e0e782861c292b8684bb367dc0489bdcc68f73 /shell/ev-job-xfer.c | |
parent | dda75bc2dbcd9a6ed5507bb0609f057846edc261 (diff) |
Rework factory functions so they are placed now in a single file
* backend/ev-document-factory.c:
(ev_document_factory_get_from_mime),
(ev_document_factory_get_all_mime_types), (get_document_from_uri),
(ev_document_factory_get_document),
(file_filter_add_mime_list_and_free),
(ev_document_factory_add_filters):
* backend/ev-document-factory.h:
* properties/ev-properties-main.c: (ev_properties_get_pages):
* shell/Makefile.am:
* shell/ev-application.c:
* shell/ev-job-xfer.c: (ev_job_xfer_run):
* shell/ev-window.c: (ev_window_cmd_file_open),
(ev_window_cmd_save_as):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
Rework factory functions so they are placed now in a single
file ev-document-factory.c
Diffstat (limited to 'shell/ev-job-xfer.c')
-rw-r--r-- | shell/ev-job-xfer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ev-job-xfer.c b/shell/ev-job-xfer.c index cc9b7c4..b169f46 100644 --- a/shell/ev-job-xfer.c +++ b/shell/ev-job-xfer.c @@ -23,8 +23,8 @@ #include "ev-job-xfer.h" -#include "ev-document-types.h" #include "ev-file-helpers.h" +#include "ev-document-factory.h" #include <glib/gi18n.h> #include <glib.h> @@ -102,7 +102,7 @@ ev_job_xfer_run (EvJobXfer *job) job->error = NULL; } - document = ev_document_types_get_document (job->uri, NULL, &error); + document = ev_document_factory_get_document (job->uri, NULL, &error); if (document != NULL) { EV_JOB (job)->document = document; |