idlehomescreen/widgetmanager/tsrc/wmunittest/src/wmunittest_sortorder.cpp
changeset 2 08c6ee43b396
parent 1 5315654608de
child 11 ff572dfe6d86
--- a/idlehomescreen/widgetmanager/tsrc/wmunittest/src/wmunittest_sortorder.cpp	Thu Jan 07 12:39:41 2010 +0200
+++ b/idlehomescreen/widgetmanager/tsrc/wmunittest/src/wmunittest_sortorder.cpp	Mon Jan 18 20:10:36 2010 +0200
@@ -155,11 +155,15 @@
     RWidgetRegistryClientSession registryClient;
     User::LeaveIfError( registryClient.Connect() );
     CleanupClosePushL( registryClient );
-
+    TSize dummySize(40,40);
+    CWmResourceLoader* resLoader = NULL; // not used in this case
     while( contentArray->Array().Count() > 0 )
-        {
+        {        
         CWmWidgetData* data = CWmWidgetData::NewL(
-                contentArray->Array()[0], &registryClient);
+                dummySize, *resLoader, 
+                contentArray->Array()[0],
+                &registryClient);
+
         contentArray->Array().Remove( 0 );
         CleanupStack::PushL( data );
         aArray.AppendL( data );