Changed version 2.2 and fixed API privileges violations
authorHimanshu <himanshu.t@samsung.com>
Wed, 3 Jul 2013 10:31:58 +0000 (16:01 +0530)
committerHimanshu <himanshu.t@samsung.com>
Wed, 3 Jul 2013 10:31:58 +0000 (16:01 +0530)
Change-Id: I2731492ae988bb3f714e7dea0c7d6dc86952515b
Signed-off-by: Himanshu <himanshu.t@samsung.com>
manifest.xml
src/GlAlbumListEditorForm.cpp
src/GlAlbumListForm.cpp

index 93db650..c20678f 100644 (file)
@@ -8,7 +8,7 @@
         <Feature Name="http://tizen.org/feature/platform.core.fpu.arch.vfpv3">true</Feature>
     </Requirements>
     <Apps>
-        <ApiVersion>2.1</ApiVersion>
+        <ApiVersion>2.2</ApiVersion>
         <Privileges>
             <Privilege>http://tizen.org/privilege/content.read</Privilege>
             <Privilege>http://tizen.org/privilege/application.launch</Privilege>
index f11f62c..2f6df37 100644 (file)
@@ -258,7 +258,7 @@ AlbumListEditorForm::CreateIconListView(void)
 
        __pEditorFolderIconList->SetTextOfEmptyList(ResourceManager::GetString(L"IDS_COM_BODY_NO_ITEMS"));
 
-       AddControl(*__pEditorFolderIconList);
+       AddControl(__pEditorFolderIconList);
 
        __pEditorFolderIconList->SetShowState(true);
 
@@ -1021,7 +1021,7 @@ AlbumListEditorForm::OnOrientationChanged(const Tizen::Ui::Control &source, Tize
        __pEditorFolderIconList->SetItemBorderStyle(ICON_LIST_VIEW_ITEM_BORDER_STYLE_NONE);
        __pEditorFolderIconList->AddIconListViewItemEventListener(*this);
 
-       AddControl(*__pEditorFolderIconList);
+       AddControl(__pEditorFolderIconList);
 
        int loopCount = pIndexList->GetCount();
        int index = -1 ;
index 190954b..c7129b8 100644 (file)
@@ -220,7 +220,7 @@ AlbumListForm::CreateIconListView(void)
        }
        __pAlbumViewIconList->SetTextOfEmptyList(ResourceManager::GetString(L"IDS_COM_BODY_NO_ITEMS"));
 
-       AddControl(*__pAlbumViewIconList);
+       AddControl(__pAlbumViewIconList);
 
        __pAlbumViewIconList->SetShowState(true);
        AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
@@ -569,6 +569,6 @@ AlbumListForm::OnOrientationChanged(const Tizen::Ui::Control &source, Tizen::Ui:
        __pAlbumViewIconList->SetItemBorderStyle(ICON_LIST_VIEW_ITEM_BORDER_STYLE_NONE);
        __pAlbumViewIconList->AddIconListViewItemEventListener(*this);
 
-       AddControl(*__pAlbumViewIconList);
+       AddControl(__pAlbumViewIconList);
 
 }