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-document-types.h | |
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-document-types.h')
-rw-r--r-- | shell/ev-document-types.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/shell/ev-document-types.h b/shell/ev-document-types.h deleted file mode 100644 index 1d8b0df..0000000 --- a/shell/ev-document-types.h +++ /dev/null @@ -1,37 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */ -/* - * Copyright (C) 2005, Red Hat, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - */ - -#ifndef EV_DOCUMENT_TYPES_H -#define EV_DOCUMENT_TYPES_H - -#include "ev-document.h" -#include <gtk/gtk.h> - -G_BEGIN_DECLS - -EvDocument *ev_document_types_get_document (const char *uri, - gchar **mime_type, - GError **error); -void ev_document_types_add_filters (GtkWidget *chooser, - EvDocument *document); - -G_END_DECLS - -#endif |