--- a/idlehomescreen/xmluirendering/uiengine/src/xnviewdata.cpp Wed Sep 01 12:32:46 2010 +0100
+++ b/idlehomescreen/xmluirendering/uiengine/src/xnviewdata.cpp Tue Sep 14 20:58:58 2010 +0300
@@ -33,14 +33,11 @@
#include "ainativeuiplugins.h"
#include "xnpanic.h"
-
#include "debug.h"
// Constants
_LIT8( KNs, "namespace" );
-// ============================ LOCAL FUNCTIONS ================================
-
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CXnViewData::NewL()
@@ -211,6 +208,11 @@
iLoadError = err;
+ if( !iLoadError )
+ {
+ TRAP_IGNORE( iManager.NotifyViewLoadedL( *this ) );
+ }
+
return iLoadError;
}
@@ -319,7 +321,11 @@
//
CXnNode* CXnViewData::ViewNode() const
{
- return iNode->LayoutNode();
+ if( iNode )
+ {
+ return iNode->LayoutNode();
+ }
+ return NULL;
}
// -----------------------------------------------------------------------------