From 79986dda7231d1ef1c530909bde8e18a507a2a2a Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 14 Jun 2005 21:04:23 +0000 Subject: Add orientation api. Currently poppler api is not optimal, we need to set 2005-06-14 Marco Pesenti Gritti * backend/ev-document.c: (ev_document_set_orientation): * backend/ev-document.h: * pdf/ev-poppler.cc: Add orientation api. Currently poppler api is not optimal, we need to set orientation every time we _get a page * data/evince-ui.xml: * shell/ev-window.c: (ev_window_cmd_edit_landscape), (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip): Add orientation menu items * shell/ev-page-cache.c: (ev_page_cache_clear): * shell/ev-page-cache.h: Add api to clear the cache * shell/ev-view.c: (setup_caches), (clear_caches), (ev_view_set_document), (ev_view_zoom_out), (ev_view_set_orientation): * shell/ev-view.h: Implement orientation changing --- (limited to 'shell/ev-page-cache.h') diff --git a/shell/ev-page-cache.h b/shell/ev-page-cache.h index b0bf6cc..2b270b0 100644 --- a/shell/ev-page-cache.h +++ b/shell/ev-page-cache.h @@ -67,7 +67,8 @@ void ev_page_cache_set_link (EvPageCache *page_cache, gboolean ev_page_cache_next_page (EvPageCache *page_cache); gboolean ev_page_cache_prev_page (EvPageCache *page_cache); -EvPageCache* ev_page_cache_get (EvDocument *document); +EvPageCache *ev_page_cache_get (EvDocument *document); +void ev_page_cache_clear (EvDocument *document); G_END_DECLS -- cgit v0.9.1