diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-08-23 16:02:41 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-09-15 13:59:14 (GMT) |
commit | 34148304a0237fd9fd7c4ea05ca2e053d9ddd3ff (patch) | |
tree | c15e675d979cc94361c424ab18adf4ec21e80b48 /libview/ev-view-private.h | |
parent | 8f8663bd6503f53ad78c68aefe44800575959944 (diff) |
Remove EvPageCache and use EvDocumentModel instead
EvView is now another view for the common model EvDocumentModel. Now
it's possible to have several windows for the same document without the
symlink hack. Every window has its own model, while the document object
is shared.
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r-- | libview/ev-view-private.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index 2f01f72..a2710a9 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -26,8 +26,8 @@ #define __EV_VIEW_PRIVATE_H__ #include "ev-view.h" +#include "ev-document-model.h" #include "ev-pixbuf-cache.h" -#include "ev-page-cache.h" #include "ev-jobs.h" #include "ev-image.h" #include "ev-form-field.h" @@ -133,7 +133,8 @@ struct _EvView { gint find_result; gboolean jump_to_find_result; gboolean highlight_find_results; - + + EvDocumentModel *model; EvPageCache *page_cache; EvPixbufCache *pixbuf_cache; EvHeightToPageCache *height_to_page_cache; @@ -161,8 +162,6 @@ struct _EvView { gdouble scale; gint spacing; gdouble dpi; - gdouble max_scale; - gdouble min_scale; gboolean loading; gboolean continuous; |