[attach-panel-camera]Removed Build Warnings 86/66286/1 accepted/tizen/mobile/20160418.124551 accepted/tizen/mobile/20160707.225741 submit/tizen_mobile/20160418.100930 submit/tizen_mobile/20160707.123546
authoranshu.kumar <anshu.kumar@samsung.com>
Mon, 18 Apr 2016 07:37:45 +0000 (13:07 +0530)
committeranshu.kumar <anshu.kumar@samsung.com>
Mon, 18 Apr 2016 07:37:45 +0000 (13:07 +0530)
Change-Id: Idafc07bc1b63b1afd0a9d444ef97b56f1718c475
Signed-off-by: anshu.kumar <anshu.kumar@samsung.com>
CMakeLists.txt
inc/utils/config.h
packaging/attach-panel-camera.spec
src/view/main-view.c

index ee782e8e6f8864136a1a8f508fd1f58d9edb7dc7..38e4b501bfedda1ed24e11a838fd3ead3df2e215 100755 (executable)
@@ -56,6 +56,7 @@ pkg_check_modules(pkgs REQUIRED
        capi-system-device
        libexif
        storage
+       notification
        libtzplatform-config
 )
 
index 190f993d45e04dfa0e450806db66046925901889..d17b7e9966fdcaac59d337166847dacdb437d9b6 100755 (executable)
@@ -37,7 +37,7 @@ static inline char *Get_Root_Path(int storage_id,int type)
 inline char * get_path(char *string1, char *string2){
                        char path[1024] = {};
                        snprintf(path, 1024,"%s%s", string1, string2);
-                       return path;
+                       return strdup(path);
 }
 /* storage path */
 #define INTERNAL_DCIM_PATH     Get_Root_Path(STORAGE_TYPE_INTERNAL, STORAGE_DIRECTORY_CAMERA)
index 6b1f4aa5610e898808c9918dc3cba89edd022d2a..5e6ef1ed98f37e631e3553ccb4458efa0e57b0ec 100755 (executable)
@@ -25,6 +25,7 @@ BuildRequires: pkgconfig(capi-media-image-util)
 BuildRequires: pkgconfig(capi-media-camera)
 BuildRequires: pkgconfig(capi-system-device)
 BuildRequires: pkgconfig(capi-media-recorder)
+BuildRequires: pkgconfig(notification)
 BuildRequires: pkgconfig(libexif)
 BuildRequires: pkgconfig(storage)
 BuildRequires: pkgconfig(libtzplatform-config)
index 097df2b5c13b13080034ba869d7708a311fc7005..e19f7c16edd4b299572ed0a785837d676309c977 100755 (executable)
@@ -29,6 +29,7 @@
 #include <dlog.h>
 #include <app_control.h>
 #include <media_content.h>
+#include <notification.h>
 
 #include <image_util.h>
 #include <media_format.h>