[f-spot] No need to compute the minimum zoom every time.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [f-spot] No need to compute the minimum zoom every time.
- Date: Wed, 12 Aug 2009 13:00:11 +0000 (UTC)
commit 8b1bcf90b3d331b03624eb6859ef23c214aeb4af
Author: Ruben Vermeersch <ruben savanne be>
Date: Thu Jul 23 19:56:36 2009 +0200
No need to compute the minimum zoom every time.
It's value is only dependent on the allocation, the image and its
orientation. If any of those changes, the min zoom is recalculated
anyway.
src/Widgets/ImageView.cs | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/Widgets/ImageView.cs b/src/Widgets/ImageView.cs
index c61e7e0..7cea212 100644
--- a/src/Widgets/ImageView.cs
+++ b/src/Widgets/ImageView.cs
@@ -210,8 +210,6 @@ namespace FSpot.Widgets
Gtk.ScrolledWindow scrolled = Parent as Gtk.ScrolledWindow;
if (scrolled != null)
scrolled.SetPolicy (Gtk.PolicyType.Never, Gtk.PolicyType.Never);
-
- ComputeMinZoom ();
fit = true;
DoZoom (MIN_ZOOM, false, 0, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]