tomboy r1857 - in trunk: . Tomboy
- From: btimothy svn gnome org
- To: svn-commits-list gnome org
- Subject: tomboy r1857 - in trunk: . Tomboy
- Date: Sun, 17 Feb 2008 00:07:44 +0000 (GMT)
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]