[f-spot] Calling QueueDraw when position has an invalid value leads to a crash,
- From: Lorenzo Milesi <lmilesi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [f-spot] Calling QueueDraw when position has an invalid value leads to a crash,
- Date: Thu, 6 Aug 2009 07:06:32 +0000 (UTC)
commit 9ab7febd4e470883a67ada602c78387b0fd428ee
Author: Mike Gemünde <mike gemuende de>
Date: Tue Aug 4 16:33:42 2009 +0200
Calling QueueDraw when position has an invalid value leads to a crash,
so we need to ensure a valid. (Position starts an Animation, which
does not directly set a valid value to position)
src/Widgets/Filmstrip.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Widgets/Filmstrip.cs b/src/Widgets/Filmstrip.cs
index 4089676..fbd6745 100644
--- a/src/Widgets/Filmstrip.cs
+++ b/src/Widgets/Filmstrip.cs
@@ -532,7 +532,7 @@ namespace FSpot.Widgets
void HandleCollectionChanged (IBrowsableCollection coll)
{
- Position = ActiveItem;
+ this.position = ActiveItem;
QueueDraw ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]