Author: everaldo
Date: 2007-06-20 17:48:29 -0400 (Wed, 20 Jun 2007)
New Revision: 80371

Modified:
   trunk/moon/plugin/ChangeLog
   trunk/moon/plugin/plugin.cpp
Log:
2007-06-20  Everaldo Canuto  <[EMAIL PROTECTED]>

        * plugin.cpp: Add new params to xaml_create_from_file and 
        xaml_create_from_str calls to fix compilations problems.



Modified: trunk/moon/plugin/ChangeLog
===================================================================
--- trunk/moon/plugin/ChangeLog 2007-06-20 21:38:26 UTC (rev 80370)
+++ trunk/moon/plugin/ChangeLog 2007-06-20 21:48:29 UTC (rev 80371)
@@ -1,3 +1,8 @@
+2007-06-20  Everaldo Canuto  <[EMAIL PROTECTED]>
+
+       * plugin.cpp: Add new params to xaml_create_from_file and 
+       xaml_create_from_str calls to fix compilations problems.
+
 2007-06-20  Chris Toshok  <[EMAIL PROTECTED]>
 
        * plugin.cpp (StreamAsFile): don't try to execute onLoad if there

Modified: trunk/moon/plugin/plugin.cpp
===================================================================
--- trunk/moon/plugin/plugin.cpp        2007-06-20 21:38:26 UTC (rev 80370)
+++ trunk/moon/plugin/plugin.cpp        2007-06-20 21:48:29 UTC (rev 80371)
@@ -273,7 +273,7 @@
                        mono_loader_object = vm_xaml_str_loader_new (this, 
this->surface, NPVARIANT_TO_STRING (result).utf8characters);
                        TryLoad ();
                        #else   
-                       UIElement * element = xaml_create_from_str 
(NPVARIANT_TO_STRING (result).utf8characters, true, NULL, NULL, NULL);
+                       UIElement * element = xaml_create_from_str 
(NPVARIANT_TO_STRING (result).utf8characters, true, NULL, NULL, NULL, NULL);
                        surface_attach (this->surface, element);
                        #endif
                }
@@ -382,7 +382,7 @@
                        mono_loader_object = vm_xaml_file_loader_new (this, 
this->surface, fname);
                        TryLoad ();
                #else   
-                       UIElement *element = xaml_create_from_file (fname, 
true, NULL, NULL, NULL);
+                       UIElement *element = xaml_create_from_file (fname, 
true, NULL, NULL, NULL, NULL);
                        surface_attach (this->surface, element);
                #endif
 

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

Reply via email to