X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libview%2Fev-view-private.h;h=7bd16e9151c0ea6437fee8100d4b81d3926f638c;hb=a9f7fe8cd4c9d51e407acafe78d2bc89d3b98f6b;hp=abef629074cd6b098f99a2f0461338d08470c2e5;hpb=6965a51a28f76d0a669d0d1c9fdc089e6cf46c7d;p=evince.git diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index abef6290..7bd16e91 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -26,6 +26,7 @@ #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" @@ -133,9 +134,10 @@ struct _EvView { gint find_result; gboolean jump_to_find_result; gboolean highlight_find_results; - - EvPageCache *page_cache; + + EvDocumentModel *model; EvPixbufCache *pixbuf_cache; + EvPageCache *page_cache; EvHeightToPageCache *height_to_page_cache; EvViewCursor cursor; EvJobRender *current_job; @@ -160,9 +162,6 @@ struct _EvView { gint rotation; gdouble scale; gint spacing; - gdouble dpi; - gdouble max_scale; - gdouble min_scale; gboolean loading; gboolean continuous; @@ -218,7 +217,6 @@ struct _EvViewClass { void (*binding_activated) (EvView *view, GtkScrollType scroll, gboolean horizontal); - void (*zoom_invalid) (EvView *view); void (*handle_link) (EvView *view, EvLink *link); void (*external_link) (EvView *view,