Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview/ev-page-cache.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-08-20 16:30:46 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-09-15 13:56:02 (GMT)
commit6965a51a28f76d0a669d0d1c9fdc089e6cf46c7d (patch)
tree8399ff2cdfb46e22e9b184bcd4b23f4cd26563c7 /libview/ev-page-cache.c
parentaf6e8468fa9a8b26d4ac431b1a92e556a61c9ce7 (diff)
[libview] Remove ev_page_cache_get_size() from EvPageCache
Diffstat (limited to 'libview/ev-page-cache.c')
-rw-r--r--libview/ev-page-cache.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/libview/ev-page-cache.c b/libview/ev-page-cache.c
index 1bf689e..8fba8c6 100644
--- a/libview/ev-page-cache.c
+++ b/libview/ev-page-cache.c
@@ -149,32 +149,6 @@ ev_page_cache_set_page_label (EvPageCache *page_cache,
return FALSE;
}
-void
-ev_page_cache_get_size (EvPageCache *page_cache,
- gint page,
- gint rotation,
- gfloat scale,
- gint *width,
- gint *height)
-{
- double w, h;
-
- g_return_if_fail (EV_IS_PAGE_CACHE (page_cache));
-
- ev_document_get_page_size (page_cache->document, page, &w, &h);
-
- w = w * scale + 0.5;
- h = h * scale + 0.5;
-
- if (rotation == 0 || rotation == 180) {
- if (width) *width = (int)w;
- if (height) *height = (int)h;
- } else {
- if (width) *width = (int)h;
- if (height) *height = (int)w;
- }
-}
-
#define PAGE_CACHE_STRING "ev-page-cache"
EvPageCache *