[Momentbar] Fixing build warnings 26/105126/1 accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/wearable/20170105.030329 accepted/tizen/3.0/wearable/20161216.020057 submit/tizen_3.0.m2/20170104.093756 submit/tizen_3.0/20161215.124136
authorIrfan Abdul <irfan.abdul@samsung.com>
Thu, 15 Dec 2016 12:38:10 +0000 (18:08 +0530)
committerIrfan Abdul <irfan.abdul@samsung.com>
Thu, 15 Dec 2016 12:38:10 +0000 (18:08 +0530)
Change-Id: Ife4051e03b232d7d7801ff20e72ba4f0616c8881
Signed-off-by: Irfan Abdul <irfan.abdul@samsung.com>
src/windicator.c
src/windicator_dynamic.c
src/windicator_moment_bar.c

index 603853966712be2a9f05cf8b7dbe4a178c6f0ae7..2137ef4b598f0d0cfcec4ce5f5da4bd8d9ee0a8e 100755 (executable)
@@ -261,7 +261,7 @@ static bool app_create(void *data)
  * sends the launch request to the application
  */
 
-
+#ifndef __W_HOME_WIDGET__
 static void app_control(app_control_h app_control, void *user_data)
 {
        /* Handle the launch request. */
@@ -271,6 +271,7 @@ static void app_control(app_control_h app_control, void *user_data)
        if (win)
                elm_win_activate(win);
 }
+#endif
 
 
 /**
index 8d1d9ace61ae9691fac4943ef2eecfb7972da1f9..3d0f99ce23fb91a820c4dd0855460811d0a2236c 100755 (executable)
@@ -589,6 +589,7 @@ static void _dynamic_bluetooth_state_changed_cb(void *node, void *data)
 
        /* flight mode */
        ret = vconf_get_bool(VCONFKEY_TELEPHONY_FLIGHT_MODE, &status);
+       _D("flight mode status: %d, ret: %d", status, ret);
        /*
        if (ret == 0 && status == true) {
                _W("Flight mode");
index c2df4b7ec21817eff869073b2845a3d1e334fa4d..aafe4243d18a6de8f3fff1cdbb4dd5bceae7e37f 100755 (executable)
@@ -33,6 +33,7 @@
 #include "windicator_battery.h"
 #include "windicator_scs.h"
 #include "windicator_connection.h"
+#include <widget_app_efl.h>
 
 #define KEY_BACK "XF86Back"
 #define KEY_DOWN "XF86PowerOff"