Author: lluis
Date: 2007-05-16 19:01:49 -0400 (Wed, 16 May 2007)
New Revision: 77518

Modified:
   trunk/monodevelop/Extras/BooBinding/BooShellPadContent.boo
   trunk/monodevelop/Extras/BooBinding/ChangeLog
Log:
* BooShellPadContent.boo: Added null check.

Modified: trunk/monodevelop/Extras/BooBinding/BooShellPadContent.boo
===================================================================
--- trunk/monodevelop/Extras/BooBinding/BooShellPadContent.boo  2007-05-16 
22:20:05 UTC (rev 77517)
+++ trunk/monodevelop/Extras/BooBinding/BooShellPadContent.boo  2007-05-16 
23:01:49 UTC (rev 77518)
@@ -49,5 +49,7 @@
                _scroller.ShowAll()
 
        override def Dispose():
-               _shellView.Dispose()
-               _scroller.Dispose()
+               if _shellView != null:
+                       _shellView.Dispose()
+               if _scroller != null:
+                       _scroller.Dispose()

Modified: trunk/monodevelop/Extras/BooBinding/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/BooBinding/ChangeLog       2007-05-16 22:20:05 UTC 
(rev 77517)
+++ trunk/monodevelop/Extras/BooBinding/ChangeLog       2007-05-16 23:01:49 UTC 
(rev 77518)
@@ -1,3 +1,7 @@
+2007-05-17  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * BooShellPadContent.boo: Added null check.
+
 2007-05-14  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * BooBinding.mdp, BooShell/BooShell.mdp, BooShell/Makefile.am,

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to