[eog/gnome-3-14] EogScrollView: Remove unneeded g_assert()
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/gnome-3-14] EogScrollView: Remove unneeded g_assert()
- Date: Sun, 29 Mar 2015 16:21:01 +0000 (UTC)
commit 7ba9b259207782adbaf6c09de28e6a7b39dace6a
Author: Felix Riemann <friemann gnome org>
Date: Thu Mar 26 19:01:05 2015 +0100
EogScrollView: Remove unneeded g_assert()
The code following it is able to handle the situation.
https://bugzilla.gnome.org/show_bug.cgi?id=735633
src/eog-scroll-view.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index 74e9b27..00559f0 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -1313,8 +1313,6 @@ set_zoom (EogScrollView *view, double zoom,
int xofs, yofs;
double x_rel, y_rel;
- g_assert (zoom > 0.0);
-
priv = view->priv;
if (priv->pixbuf == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]