Unset rotate_cb
authorChoi Munseok <ms47.choi@samsung.com>
Sun, 31 Mar 2013 07:33:42 +0000 (16:33 +0900)
committerChoi Munseok <ms47.choi@samsung.com>
Sun, 31 Mar 2013 07:33:42 +0000 (16:33 +0900)
Change-Id: I5bc4380af2bdb1fd3569140c96b2c9b40f058bfe
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
packaging/osp-uifw.spec [changed mode: 0755->0644]
src/CMakeLists.txt [changed mode: 0755->0644]
src/ui/FUi_EcoreEvas.cpp
src/uifw/CMakeLists.txt

old mode 100755 (executable)
new mode 100644 (file)
index caad97e..8e6f70d
@@ -14,6 +14,7 @@ BuildRequires:  pkgconfig(capi-system-info)
 BuildRequires:  pkgconfig(capi-system-device)
 BuildRequires:  pkgconfig(capi-system-runtime-info)
 BuildRequires:  pkgconfig(bundle)
+BuildRequires:  pkgconfig(appcore-common)
 BuildRequires:  pkgconfig(appsvc)
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(chromium)
old mode 100755 (executable)
new mode 100644 (file)
index badb99c..6e88f96
@@ -1,6 +1,7 @@
 SET(SLP_INCLUDE_DIRS
      /usr/include 
      /usr/include/appfw
+     /usr/include/appcore
      /usr/include/glib-2.0 
      /usr/lib/glib-2.0/include 
      /usr/include/cairo
index fd5dc42..8597e3f 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include <app.h>
+#include <appcore-common.h>
 #include <runtime_info.h>
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
@@ -999,6 +1000,11 @@ _EcoreEvas::_EcoreEvas(void)
        , __changeBounds(true)
        , __openClipboard(false)
 {
+#if defined(WINDOW_BASE_ROTATION)
+       int ret = appcore_unset_rotation_cb();
+       SysLog(NID_UI, "[Window Manager Rotation] appcore_unset_rotation_cb = %d", ret);
+#endif
+
        __pWindowVisibilityChanged = ecore_event_handler_add(ECORE_X_EVENT_WINDOW_VISIBILITY_CHANGE, OnWindowVisibilityChanged, (void*) this);
        SysTryReturnVoidResult(NID_UI, __pWindowVisibilityChanged, E_SYSTEM, "[E_SYSTEM] A system error occurred.");
 
index 77ad34d..b0953f7 100644 (file)
@@ -56,6 +56,7 @@ TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-appfw" )
 TARGET_LINK_LIBRARIES(${this_target} "-losp-image-core" )
 TARGET_LINK_LIBRARIES(${this_target} "-losp-speech-tts" )
 TARGET_LINK_LIBRARIES(${this_target} "-lcapi-appfw-application" )
+TARGET_LINK_LIBRARIES(${this_target} "-lappcore-common" )
 TARGET_LINK_LIBRARIES(${this_target} "-lappsvc" )
 TARGET_LINK_LIBRARIES(${this_target} "-lelementary" )
 TARGET_LINK_LIBRARIES(${this_target} "-lX11" )