From: jungmin76.park Date: Wed, 3 Apr 2013 13:00:22 +0000 (+0900) Subject: fix prevent bug(same on both side) X-Git-Tag: submit/tizen_2.1/20130424.232341~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57df5cda19d7081397a9f4c43ba2d01d3cdd995c;p=platform%2Fframework%2Fnative%2Fappwidget-service.git fix prevent bug(same on both side) Change-Id: I388565ee7b74eb91683e7e3634eb7a7a8eecbfd7 Signed-off-by: jungmin76.park --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e1587e1..d0bf6ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,7 @@ ADD_EXECUTABLE (${this_target} ${${this_target}_SOURCE_FILES}) TARGET_LINK_LIBRARIES(${this_target} -Xlinker --no-undefined -Xlinker --as-needed -pie) TARGET_LINK_LIBRARIES(${this_target} -Xlinker --version-script=${CMAKE_CURRENT_SOURCE_DIR}/system-service-export.ver) -TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-appfw -lchromium -lprovider -losp-shell -lbundle") +TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-appfw -lchromium -lprovider -losp-shell") TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp-server -losp-appfw-server") diff --git a/packaging/osp-appwidget-service.spec b/packaging/osp-appwidget-service.spec index 141c076..6769ca1 100644 --- a/packaging/osp-appwidget-service.spec +++ b/packaging/osp-appwidget-service.spec @@ -9,7 +9,6 @@ BuildRequires: cmake BuildRequires: pkgconfig(chromium) BuildRequires: pkgconfig(capi-appfw-application) BuildRequires: pkgconfig(aul) -BuildRequires: pkgconfig(bundle) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(provider) BuildRequires: pkgconfig(osp-appfw) diff --git a/src/FShell_AppWidgetContextBase.cpp b/src/FShell_AppWidgetContextBase.cpp index 0e6aa77..92c0508 100644 --- a/src/FShell_AppWidgetContextBase.cpp +++ b/src/FShell_AppWidgetContextBase.cpp @@ -134,7 +134,7 @@ _AppWidgetContextBase::HasValidClientId(void) const bool _AppWidgetContextBase::IsSharedMemCreated(void) const { - return ( __buffer_info && __buffer_info); + return ( __buffer_info && __buffer); } int