diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-04-02 23:24:26 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-04-02 23:24:26 (GMT) |
commit | a4a3a2301361cb6a71e1b127e8e43589f2749105 (patch) | |
tree | f70db318215d8b3517999c0ad58407ff366536ef /shell/ev-job-xfer.h | |
parent | f0d4f37e3b6a3433c15e1e35236c1ccffeca4bee (diff) |
Cleanup mime type detection on document load. Fix for the bug #336448.
* backend/ev-document-factory.c: (get_document_from_uri),
(ev_document_factory_get_document):
* backend/ev-document-factory.h:
* properties/ev-properties-main.c: (ev_properties_get_pages):
* shell/Makefile.am:
* shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
(no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
(ev_job_queue_remove_job):
* shell/ev-job-queue.h:
* shell/ev-job-xfer.c:
* shell/ev-job-xfer.h:
* shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init),
(ev_job_fonts_new), (ev_job_fonts_run), (ev_job_xfer_init),
(ev_job_xfer_dispose), (ev_job_xfer_class_init), (ev_job_xfer_new),
(ev_job_xfer_run):
* shell/ev-jobs.h:
* shell/ev-window.c: (ev_window_is_empty),
(password_dialog_response), (ev_window_clear_xfer_job),
(ev_window_xfer_job_cb), (ev_window_open_uri),
(ev_window_cmd_focus_page_selector),
(ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward),
(ev_window_cmd_continuous), (ev_window_cmd_dual),
(ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width),
(ev_window_dispose):
* thumbnailer/evince-thumbnailer.c: (evince_thumbnail_pngenc_get):
* Cleanup mime type detection on document load. Fix for the
bug #336448.
Diffstat (limited to 'shell/ev-job-xfer.h')
-rw-r--r-- | shell/ev-job-xfer.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/shell/ev-job-xfer.h b/shell/ev-job-xfer.h deleted file mode 100644 index 256a60e..0000000 --- a/shell/ev-job-xfer.h +++ /dev/null @@ -1,57 +0,0 @@ -/* this file is part of evince, a gnome document viewer - * - * Copyright (C) 2005 Red Hat, Inc - * - * Evince 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 of the License, or - * (at your option) any later version. - * - * Evince 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_JOB_XFER_H__ -#define __EV_JOB_XFER_H__ - -#include <gtk/gtk.h> -#include "ev-document.h" -#include "ev-jobs.h" - -G_BEGIN_DECLS - -typedef struct _EvJobXfer EvJobXfer; -typedef struct _EvJobXferClass EvJobXferClass; - -#define EV_TYPE_JOB_XFER (ev_job_xfer_get_type()) -#define EV_JOB_XFER(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_JOB_XFER, EvJobXfer)) -#define EV_JOB_XFER_CLASS(klass) (G_TYPE_CHACK_CLASS_CAST((klass), EV_TYPE_JOB_XFER, EvJobXferClass)) -#define EV_IS_JOB_XFER(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_JOB_XFER)) - -struct _EvJobXfer -{ - EvJob parent; - GError *error; - char *uri; - char *local_uri; -}; - -struct _EvJobXferClass -{ - EvJobClass parent_class; -}; - -/* EvJobXfer */ -GType ev_job_xfer_get_type (void); -EvJob *ev_job_xfer_new (const gchar *uri); -void ev_job_xfer_run (EvJobXfer *xfer); - -G_END_DECLS - -#endif /* __EV_JOB_XFER_H__ */ |