Fix build errors 49/213249/2 tizen tizen_6.0 tizen_6.0_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 submit/tizen/20200205.092254 submit/tizen/20200205.100340 submit/tizen_6.0/20201029.205505 submit/tizen_6.0_hotfix/20201102.192905 submit/tizen_6.0_hotfix/20201103.115105 submit/tizen_6.5/20211028.164201 submit/tizen_6.5/20211029.123901 tizen_6.0_src.m2_release tizen_6.5_src.m2_release tizen_7.0_src.m2_release tizen_8.0_m2_release
authorEunyoung Lee <ey928.lee@samsung.com>
Tue, 3 Sep 2019 08:33:27 +0000 (17:33 +0900)
committerEunyoung Lee <ey928.lee@samsung.com>
Tue, 10 Sep 2019 05:51:25 +0000 (14:51 +0900)
Change-Id: I2ec4dcca45674b873b78cb8399604364dd080762

src/datetime/util-time.c
src/minictrl/minictrl.c
src/notifications/activenoti.c
src/notifications/noti_listbox.c
src/notifications/noti_util.c
src/preference.c
src/quickpanel-ui.c
src/service/reminder.c
src/settings/setting_utils.c

index 56a6fcf..021c124 100755 (executable)
@@ -578,7 +578,7 @@ static int _util_time_formatted_time_get(i18n_udate_format_h formatter, time_t t
 
 
        buf = i18n_ustring_copy_au_n(buf, u_formatted_str, (int32_t)buf_len);
-       DBG("date:(%d)[%s][%d]", formatted_str_len, buf, tt);
+       DBG("date:(%d)[%s][%ld]", formatted_str_len, buf, tt);
 
        return (int)i18n_ustring_get_length(u_formatted_str);
 }
index 2c9a41f..76d34c1 100755 (executable)
@@ -222,7 +222,7 @@ static void _mouse_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_in
        ev = (Evas_Event_Mouse_Down *)event_info;
 
        if (!ev || !vit) {
-               ERR("ev %p, vit %p");
+               ERR("ev %p, vit %p", ev, vit);
                return;
        }
 
@@ -710,7 +710,7 @@ static void _mctrl_viewer_event_cb(minicontrol_event_e event, const char *name,
                        break;
                case MINICONTROL_EVENT_REQUEST_ANGLE:
                        if (ad->list != NULL) {
-                               ERR("need to broadcasting angle by %s ", name, event);
+                               ERR("need to broadcasting angle by %s %d", name, event);
                                _minictrl_sendview_rotation_event(name, ad->angle);
                        }
                        break;
@@ -809,7 +809,7 @@ HAPI void quickpanel_minictrl_rotation_report(int angle)
 
        g_hash_table_iter_init(&iter, s_info.prov_table);
        while (g_hash_table_iter_next(&iter, &key, &value)) {
-               INFO("minicontrol name:%s rotation:%d", key, angle);
+               INFO("minicontrol name:%s rotation:%d", (char *)key, angle);
                event_arg_bundle = bundle_create();
                if (event_arg_bundle) {
                        char bundle_value_buffer[BUNDLE_BUFFER_LENGTH] = { 0, };
index d677947..ffcb80f 100755 (executable)
@@ -479,7 +479,7 @@ static int _compare_noti_time(notification_h noti1, notification_h noti2)
                notification_get_insert_time(noti2, &noti_time2);
 
 
-       DBG("not_time1 : %d noti_time2 : %d", noti_time1, noti_time2);
+       DBG("not_time1 : %ld noti_time2 : %ld", noti_time1, noti_time2);
 
        return (int)(noti_time1 - noti_time2);
 }
@@ -911,7 +911,7 @@ static void _noti_press_cb(void *data, Evas_Object *obj,    const char *emission, c
        }
 
        if (responding_service_handle != NULL) {
-               DBG("responding_service_handle : %s", responding_service_handle);
+               DBG("responding_service_handle : %p", responding_service_handle);
                ret = quickpanel_common_launch_app(NULL, responding_service_handle);
        } else if (flag_launch == 1) {
                char *text_count = NULL;
@@ -1572,7 +1572,7 @@ static void _activenoti_update_activenoti(void)
        if (s_info.current_noti) {
                ret = notification_get_auto_remove(s_info.current_noti, &current_auto_remove);
                if (ret != NOTIFICATION_ERROR_NONE) {
-                       DBG("notification_get_auto_remove return [%s] from current_noti", ret);
+                       DBG("notification_get_auto_remove return [%d] from current_noti", ret);
                        return;
                }
 
@@ -1580,7 +1580,7 @@ static void _activenoti_update_activenoti(void)
                        DBG("!auto_remove");
                        ret = notification_get_auto_remove(noti, &auto_remove);
                        if (ret != NOTIFICATION_ERROR_NONE) {
-                               DBG("notification_get_auto_remove return [%s] from new noti", ret);
+                               DBG("notification_get_auto_remove return [%d] from new noti", ret);
                                return;
                        }
 
@@ -1596,7 +1596,7 @@ static void _activenoti_update_activenoti(void)
        } else {
                ret = notification_get_auto_remove(noti, &current_auto_remove);
                if (ret != NOTIFICATION_ERROR_NONE) {
-                       DBG("notification_get_auto_remove return [%s] from current_noti", ret);
+                       DBG("notification_get_auto_remove return [%d] from current_noti", ret);
                        return;
                }
        }
@@ -1770,7 +1770,7 @@ static void _media_feedback_sound(notification_h noti)
                                if (quickpanel_media_player_is_drm_error(ret) == 1) {
                                        ERR("failed to play notification sound due to DRM problem");
                                        ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, &default_msg_tone);
-                                       msgif(ret != SYSTEM_SETTINGS_ERROR_NONE, "ailed to get key(%s) : %d", SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, ret);
+                                       msgif(ret != SYSTEM_SETTINGS_ERROR_NONE, "ailed to get key(%s) : %d", "SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION", ret);
 
 
                                        if (default_msg_tone != NULL) {
@@ -1797,7 +1797,7 @@ static void _media_feedback_sound(notification_h noti)
                break;
        case NOTIFICATION_SOUND_TYPE_DEFAULT:
                ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, &default_msg_tone);
-               msgif(ret != SYSTEM_SETTINGS_ERROR_NONE, "ailed to get key(%s) : %d", SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, ret);
+               msgif(ret != SYSTEM_SETTINGS_ERROR_NONE, "ailed to get key(%s) : %d", "SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION", ret);
 
                if (default_msg_tone != NULL) {
                        DBG("Reminded setting sound[%s]", default_msg_tone);
@@ -1887,7 +1887,7 @@ static void _activenoti_noti_detailed_changed_cb(void *data, notification_type_e
        if (op_type == NOTIFICATION_OP_INSERT || op_type == NOTIFICATION_OP_UPDATE) {
                if (_is_sound_playable() == 1) {
                        if (_check_sound_off(noti) == 0) {
-                               DBG("try to play notification sound %x", pthread_self());
+                               DBG("try to play notification sound %lu", pthread_self());
                                _media_feedback_sound(noti);
                                if (quickpanel_media_is_vib_enabled() == 1
                                                || quickpanel_media_is_sound_enabled() == 1) {
index 6f1fc9b..c0eda79 100755 (executable)
@@ -258,7 +258,7 @@ HAPI void quickpanel_noti_listbox_add_item(Evas_Object *listbox, Evas_Object *it
 
        }
 
-       DBG("set to %s, %x", signal, item);
+       DBG("set to %s, %p", signal, item);
 
        elm_object_signal_emit(item, signal, "box.prog");
        edje_object_message_signal_process(_EDJ(item));
index 3981fc3..34a79ba 100755 (executable)
@@ -89,7 +89,7 @@ static char* _get_locale(void)
        int ret = 0;
 
        ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, &locale);
-       msgif(ret != SYSTEM_SETTINGS_ERROR_NONE, "ailed to set key(%s) : %d", SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY, ret);
+       msgif(ret != SYSTEM_SETTINGS_ERROR_NONE, "ailed to set key(%s) : %d", "SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY", ret);
 
 
        if (locale == NULL) {
index eaeccec..953ddf3 100755 (executable)
@@ -120,7 +120,7 @@ HAPI int quickpanel_preference_set(const char *key, char *value)
        if (preference_set_string(key, value) == PREFERENCE_ERROR_NONE) {
                DBG("quickpanel_preference_set  key[%s] value [%s]", key, value);
        } else {
-               DBG("quickpanel_preference_set  failed key[%s]", key, value);
+               DBG("quickpanel_preference_set  failed key[%s]", key);
                return QP_FAIL;
        }
 
index af1ae6f..46c05ee 100755 (executable)
@@ -647,7 +647,7 @@ static void _change_state_on_secured_lock(void)
 
        ret = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_LOCK_STATE, &val);
        if (ret != SYSTEM_SETTINGS_ERROR_NONE) {
-               ERR("Failed get value of %s : %d", SYSTEM_SETTINGS_KEY_LOCK_STATE, ret);
+               ERR("Failed get value of %s : %d", "SYSTEM_SETTINGS_KEY_LOCK_STATE", ret);
                return;
        }
 
index 9abd96a..cedb48d 100755 (executable)
@@ -94,7 +94,7 @@ static void _feedback_sound_play(void)
                char *default_msg_tone = NULL;
 
                ret = system_settings_get_value_string(SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, &default_msg_tone);
-               msgif(ret != SYSTEM_SETTINGS_ERROR_NONE, "ailed to set key(%s) : %d", SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION, ret);
+               msgif(ret != SYSTEM_SETTINGS_ERROR_NONE, "ailed to set key(%s) : %d", "SYSTEM_SETTINGS_KEY_SOUND_NOTIFICATION", ret);
                DBG("Reminded setting sound[%s]", default_msg_tone);
 
                if (default_msg_tone != NULL) {
index 71ad97c..5bc60c6 100755 (executable)
@@ -635,7 +635,7 @@ HAPI Eina_Bool quickpanel_setting_get_secured_lock_state(void)
 
        ret = system_settings_get_value_int(SYSTEM_SETTINGS_KEY_LOCK_STATE, &val);
        if (ret != SYSTEM_SETTINGS_ERROR_NONE)
-               ERR("Failed get value of %s : %d", SYSTEM_SETTINGS_KEY_LOCK_STATE, ret);
+               ERR("Failed get value of %s : %d", "SYSTEM_SETTINGS_KEY_LOCK_STATE", ret);
 
        if (secured_lock == QP_SECURED_LOCK_ON && val == SYSTEM_SETTINGS_LOCK_STATE_LOCK)
                return EINA_TRUE;