Author: jbevain
Date: 2007-09-26 17:30:30 -0400 (Wed, 26 Sep 2007)
New Revision: 86448

Modified:
   trunk/moon/src/runtime.h
Log:
Surface dtor is virtual as well

Modified: trunk/moon/src/runtime.h
===================================================================
--- trunk/moon/src/runtime.h    2007-09-26 21:28:38 UTC (rev 86447)
+++ trunk/moon/src/runtime.h    2007-09-26 21:30:30 UTC (rev 86448)
@@ -36,10 +36,10 @@
 
 class Surface : public EventObject {
  public:
-       Surface(int width, int height);
-       
-       ~Surface();
+       Surface (int width, int height);
 
+       virtual ~Surface ();
+
        // allows you to redirect painting of the surface to an
        // arbitrary cairo context.
        void Paint (cairo_t *ctx, int x, int y, int width, int height);

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

Reply via email to