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-window.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-window.c')
-rw-r--r-- | shell/ev-window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index 2edc775..460fce0 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -44,7 +44,7 @@ #include "ev-document-fonts.h" #include "ev-document-find.h" #include "ev-document-security.h" -#include "ev-document-types.h" +#include "ev-document-factory.h" #include "ev-job-queue.h" #include "ev-jobs.h" #include "ev-sidebar-page.h" @@ -1162,7 +1162,7 @@ ev_window_cmd_file_open (GtkAction *action, EvWindow *window) GTK_STOCK_OPEN, GTK_RESPONSE_OK, NULL); - ev_document_types_add_filters (chooser, NULL); + ev_document_factory_add_filters (chooser, NULL); gtk_file_chooser_set_select_multiple (GTK_FILE_CHOOSER (chooser), TRUE); gtk_file_chooser_set_local_only (GTK_FILE_CHOOSER (chooser), FALSE); if (ev_application_get_chooser_uri (EV_APP) != NULL) @@ -1283,7 +1283,7 @@ ev_window_cmd_save_as (GtkAction *action, EvWindow *ev_window) GTK_STOCK_SAVE, GTK_RESPONSE_OK, NULL); - ev_document_types_add_filters (fc, ev_window->priv->document); + ev_document_factory_add_filters (fc, ev_window->priv->document); gtk_dialog_set_default_response (GTK_DIALOG (fc), GTK_RESPONSE_OK); #ifdef HAVE_GTK_FILE_CHOOSER_SET_DO_OVERWRITE_CONFIRMATION |