summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-03 16:20:45 +0300
committermonsta <[email protected]>2015-12-07 10:59:34 +0300
commit5b6b83d4fac49177a16a08f5bc1f897a37291b7e (patch)
tree183c33af8627addd1fc143d90e85a07ac0158d94
parente87b5fadb06be32a886b7666bb09ab0697661d9b (diff)
downloadeom-5b6b83d4fac49177a16a08f5bc1f897a37291b7e.tar.bz2
eom-5b6b83d4fac49177a16a08f5bc1f897a37291b7e.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)