Author: jackson
Date: 2008-01-17 13:40:34 -0500 (Thu, 17 Jan 2008)
New Revision: 93183

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/xaml.cpp
Log:

        * xaml.cpp: After setting a property stop walking up the element
        tree.



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2008-01-17 18:21:49 UTC (rev 93182)
+++ trunk/moon/src/ChangeLog    2008-01-17 18:40:34 UTC (rev 93183)
@@ -1,3 +1,8 @@
+2008-01-17  Jackson Harper  <[EMAIL PROTECTED]>
+
+       * xaml.cpp: After setting a property stop walking up the element
+       tree.
+
 2008-01-17  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
        * pipeline-ffmpeg.cpp: Comment out a couple of confusing printfs.

Modified: trunk/moon/src/xaml.cpp
===================================================================
--- trunk/moon/src/xaml.cpp     2008-01-17 18:21:49 UTC (rev 93182)
+++ trunk/moon/src/xaml.cpp     2008-01-17 18:40:34 UTC (rev 93183)
@@ -1000,8 +1000,10 @@
                List::Node *walk = info->current_element->children->First ();
                while (walk) {
                        XamlElementInstance *child = (XamlElementInstance *) 
walk;
-                       if (info->current_element->parent)
+                       if (info->current_element->parent) {
                                
info->current_element->parent->info->set_property (info, 
info->current_element->parent, info->current_element, child);
+                               break;
+                       }
                        walk = walk->next;
                }
                break;

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

Reply via email to