]> www.fi.muni.cz Git - evince.git/commit
Remove zoom-invalid signal from EvView
authorCarlos Garcia Campos <carlosgc@gnome.org>
Fri, 21 Aug 2009 10:56:35 +0000 (12:56 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 15 Sep 2009 13:56:02 +0000 (15:56 +0200)
commit8f8663bd6503f53ad78c68aefe44800575959944
treed8742a67c47e6cc205f024b20e7c246080499e8c
parent6965a51a28f76d0a669d0d1c9fdc089e6cf46c7d
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.
libview/ev-view-private.h
libview/ev-view.c
libview/ev-view.h
previewer/ev-previewer-window.c
shell/ev-window.c