[f-spot/FSPOT_0_6_0_STABLE] a NRE was reported on this



commit 7de7b5eaa43ea10149f092a97d6f1b42c04ba3e7
Author: Stephane Delcroix <stephane delcroix org>
Date:   Mon Aug 24 11:42:47 2009 +0200

    a NRE was reported on this

 src/GroupSelector.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/GroupSelector.cs b/src/GroupSelector.cs
index 931683f..26cdf48 100644
--- a/src/GroupSelector.cs
+++ b/src/GroupSelector.cs
@@ -334,6 +334,9 @@ namespace FSpot {
 			//Rectangle box = glass.Bounds ();
 			//Console.WriteLine ("please {0} and {1} in box {2}", x, y, box);
 
+			if (glass == null)
+				return base.OnMotionNotifyEvent (args);
+
 			if (glass.Dragging) {
 				glass.UpdateDrag (x, y);
 			} else if (min_limit.Dragging) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]