Author: btimothy
Date: Sun Feb 17 00:07:44 2008
New Revision: 1857
URL: http://svn.gnome.org/viewvc/tomboy?rev=1857&view=rev

Log:
* Tomboy/Note.cs: Fix bug #503165 by removing Debug.Assert calls and
  replacing them with if (x) return.

Modified:
   trunk/ChangeLog
   trunk/Tomboy/Note.cs

Modified: trunk/Tomboy/Note.cs
==============================================================================
--- trunk/Tomboy/Note.cs        (original)
+++ trunk/Tomboy/Note.cs        Sun Feb 17 00:07:44 2008
@@ -166,8 +166,10 @@
 
                public void SetPositionExtent (int x, int y, int width, int 
height)
                {
-                       Debug.Assert (x >= 0 && y >= 0);
-                       Debug.Assert (width > 0 && height > 0);
+                       if (x >= 0 && y >= 0)
+                               return;
+                       if (width > 0 && height > 0)
+                               return;
 
                        this.x = x;
                        this.y = y;
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to