Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview/ev-view.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-08-21 10:56:35 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-09-15 13:56:02 (GMT)
commit8f8663bd6503f53ad78c68aefe44800575959944 (patch)
treed8742a67c47e6cc205f024b20e7c246080499e8c /libview/ev-view.h
parent6965a51a28f76d0a669d0d1c9fdc089e6cf46c7d (diff)
Remove zoom-invalid signal from EvView
It was used by EvView when sizing mode was best-fit or fit-width to request the window for its content size. This is not needed at all, since we already call size_allocate on parent class. GtkScrolledWindow takes into account the shadow type and scrollbars visibility in its size_allocate method, so we can just take the allocation returned to calculate the zoom in case of best-fit or fit-width.
Diffstat (limited to 'libview/ev-view.h')
-rw-r--r--libview/ev-view.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/libview/ev-view.h b/libview/ev-view.h
index 2ff3aef..d9b5127 100644
--- a/libview/ev-view.h
+++ b/libview/ev-view.h
@@ -94,11 +94,6 @@ void ev_view_zoom_out (EvView *view);
void ev_view_set_zoom (EvView *view,
double factor,
gboolean relative);
-void ev_view_set_zoom_for_size (EvView *view,
- int width,
- int height,
- int vsb_width,
- int hsb_height);
double ev_view_get_zoom (EvView *view);
void ev_view_set_screen_dpi (EvView *view,
gdouble dpi);