Author: toshok
Date: 2007-12-14 14:05:05 -0500 (Fri, 14 Dec 2007)
New Revision: 91310
Modified:
trunk/moon/src/animation.cpp
Log:
quiet the spew
Modified: trunk/moon/src/animation.cpp
===================================================================
--- trunk/moon/src/animation.cpp 2007-12-14 18:51:50 UTC (rev 91309)
+++ trunk/moon/src/animation.cpp 2007-12-14 19:05:05 UTC (rev 91310)
@@ -135,7 +135,9 @@
{
Clock *clock = new AnimationClock (this);
char *name = g_strdup_printf ("AnimationClock for %s, targetobj =
%p/%s, targetprop = %s", GetTypeName(),
- FindName
(Storyboard::GetTargetName(this)), Storyboard::GetTargetName (this),
Storyboard::GetTargetProperty (this));
+ Storyboard::GetTargetName(this) == NULL ?
NULL : FindName (Storyboard::GetTargetName(this)),
+ Storyboard::GetTargetName(this),
+ Storyboard::GetTargetProperty (this));
clock->SetValue (DependencyObject::NameProperty, name);
g_free (name);
return clock;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches