--- 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], ®istryClient);
+ dummySize, *resLoader,
+ contentArray->Array()[0],
+ ®istryClient);
+
contentArray->Array().Remove( 0 );
CleanupStack::PushL( data );
aArray.AppendL( data );