--- a/imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagdaemon.cpp Fri Mar 12 15:43:57 2010 +0200
+++ b/imagehandlingutilities/thumbnailmanager/thumbagdaemon/src/thumbagdaemon.cpp Mon Mar 15 12:41:55 2010 +0200
@@ -306,7 +306,7 @@
// -----------------------------------------------------------------------------
//
-void CThumbAGDaemon::HandleUriObjectNotification(CMdESession& aSession,
+void CThumbAGDaemon::HandleUriObjectNotification(CMdESession& /*aSession*/,
TObserverNotificationType aType,
const RArray<TItemId>& aObjectIdArray,
const RPointerArray<HBufC>& aObjectUriArray)
@@ -510,7 +510,9 @@
iMdESession->AddObjectObserverL( *this, addCondition, ENotifyAdd );
// modify observer
- //iMdESession->AddObjectObserverL( *this, modifyCondition, ENotifyModify );
+#ifdef MDS_MODIFY_OBSERVER
+ iMdESession->AddObjectObserverL( *this, modifyCondition, ENotifyModify );
+#endif
#ifdef MDS_URI_OBSERVER
// remove observer with uri