diff -r 474929a40a0f -r 87476091b3f5 homescreenapp/hsdomainmodel/src/hsscene.cpp --- a/homescreenapp/hsdomainmodel/src/hsscene.cpp Wed Jul 14 15:53:30 2010 +0300 +++ b/homescreenapp/hsdomainmodel/src/hsscene.cpp Fri Jul 23 13:47:57 2010 +0300 @@ -321,18 +321,18 @@ /*! Return main window. */ -HbMainWindow *HsScene::mainWindow() +/*HbMainWindow *HsGui::instance() { return hbInstance->allMainWindows().first(); } - +*/ /*! Return current orientation. */ -Qt::Orientation HsScene::orientation() +/*Qt::Orientation HsGui::instance()->orientation() { return mainWindow()->orientation(); -} +}*/ /*! Listens for application background/foreground changes.