Author: fejj
Date: 2007-06-19 10:57:36 -0400 (Tue, 19 Jun 2007)
New Revision: 80167
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/brush.cpp
Log:
2007-06-19 Jeffrey Stedfast <[EMAIL PROTECTED]>
* brush.cpp (~VideoBrush): We want to detach from the media
element, not ourselves. Doh.
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2007-06-19 14:56:31 UTC (rev 80166)
+++ trunk/moon/src/ChangeLog 2007-06-19 14:57:36 UTC (rev 80167)
@@ -1,3 +1,8 @@
+2007-06-19 Jeffrey Stedfast <[EMAIL PROTECTED]>
+
+ * brush.cpp (~VideoBrush): We want to detach from the media
+ element, not ourselves. Doh.
+
2007-06-19 Sebastien Pouliot <[EMAIL PROTECTED]>
* shape.h: Update comments about which shapes needs, or not, to
Modified: trunk/moon/src/brush.cpp
===================================================================
--- trunk/moon/src/brush.cpp 2007-06-19 14:56:31 UTC (rev 80166)
+++ trunk/moon/src/brush.cpp 2007-06-19 14:57:36 UTC (rev 80167)
@@ -1030,7 +1030,7 @@
VideoBrush::~VideoBrush ()
{
if (media != NULL) {
- Detach (MediaElement::PositionProperty, media);
+ media->Detach (MediaElement::PositionProperty, this);
media->unref ();
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches