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 15:47:36 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-09-15 13:56:02 (GMT)
commitaf6e8468fa9a8b26d4ac431b1a92e556a61c9ce7 (patch)
treedfd21b1c3ed756d0df3a0c4678f89fc593ef99b4 /libview/ev-page-cache.c
parent0408e03f3da0e9e3d94b591684d5fb867115effc (diff)
[libview] Move get_max_width/height from EvPageCache to EvView
Diffstat (limited to 'libview/ev-page-cache.c')
-rw-r--r--libview/ev-page-cache.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/libview/ev-page-cache.c b/libview/ev-page-cache.c
index 8257ce4..1bf689e 100644
--- a/libview/ev-page-cache.c
+++ b/libview/ev-page-cache.c
@@ -175,40 +175,6 @@ ev_page_cache_get_size (EvPageCache *page_cache,
}
}
-void
-ev_page_cache_get_max_width (EvPageCache *page_cache,
- gint rotation,
- gfloat scale,
- gint *width)
-{
- double w, h;
-
- g_return_if_fail (EV_IS_PAGE_CACHE (page_cache));
-
- if (!width)
- return;
-
- ev_document_get_max_page_size (page_cache->document, &w, &h);
- *width = (rotation == 0 || rotation == 180) ? w * scale : h * scale;
-}
-
-void
-ev_page_cache_get_max_height (EvPageCache *page_cache,
- gint rotation,
- gfloat scale,
- gint *height)
-{
- double w, h;
-
- g_return_if_fail (EV_IS_PAGE_CACHE (page_cache));
-
- if (!height)
- return;
-
- ev_document_get_max_page_size (page_cache->document, &w, &h);
- *height = (rotation == 0 || rotation == 180) ? h * scale : w * scale;
-}
-
#define PAGE_CACHE_STRING "ev-page-cache"
EvPageCache *