Author: spouliot
Date: 2007-09-19 17:48:04 -0400 (Wed, 19 Sep 2007)
New Revision: 86048

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/shape.cpp
   trunk/moon/src/shape.h
Log:
shape.cpp|h: Remove dead code.

Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-09-19 21:36:36 UTC (rev 86047)
+++ trunk/moon/src/ChangeLog    2007-09-19 21:48:04 UTC (rev 86048)
@@ -1,3 +1,7 @@
+2007-09-19  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * shape.cpp|h: Remove dead code.
+
 2007-09-19  Jeffrey Stedfast  <[EMAIL PROTECTED]>
 
        * font.cpp: More fixes to make stuff build/work (more or less).

Modified: trunk/moon/src/shape.cpp
===================================================================
--- trunk/moon/src/shape.cpp    2007-09-19 21:36:36 UTC (rev 86047)
+++ trunk/moon/src/shape.cpp    2007-09-19 21:48:04 UTC (rev 86048)
@@ -1657,25 +1657,6 @@
 }
 
 void
-Path::BuildPath ()
-{
-       Geometry* geometry = path_get_data (this);
-       if (!geometry) {
-               SetShapeFlags (UIElement::SHAPE_EMPTY);
-               return;
-       }
-
-       double w = framework_element_get_width (this);
-       double h = framework_element_get_height (this);
-       if ((w < 0.0) || (h < 0.0)) {
-               SetShapeFlags (UIElement::SHAPE_EMPTY);
-               return;
-       }
-
-       SetShapeFlags (UIElement::SHAPE_NORMAL);
-}
-
-void
 Path::Draw (cairo_t *cr)
 {
        cairo_new_path (cr);

Modified: trunk/moon/src/shape.h
===================================================================
--- trunk/moon/src/shape.h      2007-09-19 21:36:36 UTC (rev 86047)
+++ trunk/moon/src/shape.h      2007-09-19 21:48:04 UTC (rev 86048)
@@ -282,7 +282,6 @@
        // virtual Point GetTransformOrigin ();
 
        virtual void Draw (cairo_t *cr);
-       virtual void BuildPath ();
 
        virtual void ComputeBounds ();
 

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

Reply via email to