Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-jobs.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-06-13 18:45:06 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-06-13 18:45:06 (GMT)
commit7fef38d9e59026334152230f1cd847e163e8457c (patch)
tree83fb7731c11b20f6447c6e50cd62b1253acb0360 /shell/ev-jobs.h
parent2b426ab269babe95b051894c1484929543e19ce9 (diff)
Separate scan and fill so that we can incrementally fill from the main
2005-06-13 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-fonts.c: (ev_document_fonts_get_progress), (ev_document_fonts_scan), (ev_document_fonts_fill_model): * backend/ev-document-fonts.h: Separate scan and fill so that we can incrementally fill from the main thread. Add a progress api. * data/evince-properties.glade: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run): * shell/ev-jobs.h: * shell/ev-properties.c: (update_progress_label), (job_fonts_finished_cb), (setup_fonts_view): Incrementally feel the list and show the progress percentage in a label like acrobat does.
Diffstat (limited to 'shell/ev-jobs.h')
-rw-r--r--shell/ev-jobs.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/ev-jobs.h b/shell/ev-jobs.h
index d585d86..900d040 100644
--- a/shell/ev-jobs.h
+++ b/shell/ev-jobs.h
@@ -152,7 +152,6 @@ struct _EvJobLoadClass
struct _EvJobFonts
{
EvJob parent;
- GtkTreeModel *model;
gboolean scan_completed;
};
@@ -195,8 +194,7 @@ void ev_job_load_run (EvJobLoad *load);
/* EvJobFonts */
GType ev_job_fonts_get_type (void);
-EvJob *ev_job_fonts_new (EvDocument *document,
- GtkTreeModel *model);
+EvJob *ev_job_fonts_new (EvDocument *document);
void ev_job_fonts_run (EvJobFonts *fonts);
G_END_DECLS