From 57df5cda19d7081397a9f4c43ba2d01d3cdd995c Mon Sep 17 00:00:00 2001 From: "jungmin76.park" Date: Wed, 3 Apr 2013 22:00:22 +0900 Subject: [PATCH] fix prevent bug(same on both side) Change-Id: I388565ee7b74eb91683e7e3634eb7a7a8eecbfd7 Signed-off-by: jungmin76.park --- CMakeLists.txt | 2 +- packaging/osp-appwidget-service.spec | 1 - src/FShell_AppWidgetContextBase.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) 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 -- 2.34.1