summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-03 16:20:45 +0300
committermonsta <[email protected]>2015-12-03 16:20:45 +0300
commit5b7f4750bba08e1a0b1d506cd572fcb1e9679649 (patch)
tree3e85ab6d2f636d2c58f9b3f19c901604197a4a91
parentaddaafa92d7ca4895b5cbe9adc497d9ec1109f7d (diff)
downloadeom-5b7f4750bba08e1a0b1d506cd572fcb1e9679649.tar.bz2
eom-5b7f4750bba08e1a0b1d506cd572fcb1e9679649.tar.xz
remove unneeded assert - the code following it is enough
from https://git.gnome.org/browse/eog/commit/?id=ee33862e7cede4fd2ff34e4cfcb4192dfdd52b46
-rw-r--r--src/eom-scroll-view.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c
index ccd5833..6385f29 100644
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -736,8 +736,6 @@ set_zoom (EomScrollView *view, double zoom,
int xofs, yofs;
double x_rel, y_rel;
- g_assert (zoom > 0.0);
-
priv = view->priv;
if (priv->pixbuf == NULL)