diff options
author | Radoslaw Czerski <r.czerski@samsung.com> | 2016-03-18 12:55:36 +0100 |
---|---|---|
committer | Radoslaw Czerski <r.czerski@samsung.com> | 2016-03-18 12:55:36 +0100 |
commit | c85240901d1f947d9a8102340f0db5a3d3a0ff57 (patch) | |
tree | a17bf280d45c18a8c3d259eba4ea0bfd6bba9eeb | |
parent | 5c10ddeba2edaa0dd0690c3c84514a5944aeda32 (diff) | |
download | indicator-win-c85240901d1f947d9a8102340f0db5a3d3a0ff57.tar.gz indicator-win-c85240901d1f947d9a8102340f0db5a3d3a0ff57.tar.bz2 indicator-win-c85240901d1f947d9a8102340f0db5a3d3a0ff57.zip |
SECURE_DBG and SECURE_ERR macro usage removed.
Change-Id: I0c13fab9aa98b265affb4d6a73541ae1db502968
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
-rw-r--r-- | src/box.c | 1 | ||||
-rw-r--r-- | src/icon.c | 11 | ||||
-rw-r--r-- | src/message.c | 3 | ||||
-rw-r--r-- | src/modules/information/more_notify.c | 2 | ||||
-rw-r--r-- | src/util.c | 7 |
5 files changed, 3 insertions, 21 deletions
@@ -489,7 +489,6 @@ int box_unpack(icon_s *icon) { retv_if(!icon, 0); - SECURE_DBG("[box_unpack] %s!",icon->name); switch (icon->area) { case INDICATOR_ICON_AREA_FIXED: icon->exist_in_view = EINA_FALSE; @@ -582,7 +582,7 @@ void icon_hide(icon_s *icon) ret = box_unpack(icon); if (ret == FAIL) - SECURE_ERR("Failed to unpack %s!", icon->name); + _E("Failed to unpack!"); _show_others_in_same_priority(icon); @@ -646,7 +646,6 @@ void icon_reset_list(void) box_unpack(wish_remove_icon); system_cnt = box_get_count(SYSTEM_LIST); - SECURE_DBG("system remove %s %d",wish_remove_icon->name,system_cnt); } } else { while (system_cnt < box_get_enabled_system_count()) { @@ -662,9 +661,7 @@ void icon_reset_list(void) box_pack_append(wish_add_icon); system_cnt = box_get_count(SYSTEM_LIST); - SECURE_DBG("system insert %s %d",wish_add_icon->name,system_cnt); if(system_cnt == box_get_enabled_system_count()) { - SECURE_DBG("quit adding %d %d",system_cnt,box_get_enabled_system_count()); break; } } @@ -686,7 +683,6 @@ void icon_reset_list(void) box_unpack(wish_remove_icon); minictrl_cnt = box_get_count(MINICTRL_LIST); - SECURE_DBG("minictrl remove %s %d",wish_remove_icon->name,minictrl_cnt); } } else { while (minictrl_cnt < box_get_minictrl_list()) { @@ -702,9 +698,7 @@ void icon_reset_list(void) box_pack_append(wish_add_icon); minictrl_cnt = box_get_count(MINICTRL_LIST); - SECURE_DBG("minictrl insert %s %d",wish_add_icon->name,minictrl_cnt); if(minictrl_cnt==box_get_minictrl_list()) { - SECURE_DBG("quit adding %d %d", minictrl_cnt, box_get_minictrl_list()); break; } } @@ -723,7 +717,6 @@ void icon_reset_list(void) box_unpack(wish_remove_icon); noti_cnt = box_get_count(NOTI_LIST); - SECURE_DBG("remove %s %d",wish_remove_icon->name,noti_cnt); } } else { while (noti_cnt < box_get_enabled_noti_count()) { @@ -739,9 +732,7 @@ void icon_reset_list(void) box_pack_append(wish_add_icon); noti_cnt = box_get_count(NOTI_LIST); - SECURE_DBG("insert %s %d", wish_add_icon->name, noti_cnt); if(noti_cnt==box_get_enabled_noti_count()) { - SECURE_DBG("quit adding %d %d", noti_cnt, box_get_enabled_noti_count()); break; } } diff --git a/src/message.c b/src/message.c index e9aaba7..71e0ff9 100644 --- a/src/message.c +++ b/src/message.c @@ -411,8 +411,6 @@ static void _handle_message_by_win(char *message, void *data) } msg_type = 0; - SECURE_DBG("message %s", message); - temp = strdup(message); util_char_replace(temp,'\n',' '); @@ -580,7 +578,6 @@ static void __buffer_msg_callback(const char *message, void *data) ERR("QUEUE FULL"); return; } - SECURE_DBG("buffering... %d,%s",current_buf_cnt,message); if(msg_queue[current_buf_cnt].data!=NULL) { free(msg_queue[current_buf_cnt].data); diff --git a/src/modules/information/more_notify.c b/src/modules/information/more_notify.c index 81371a5..8fab1d6 100644 --- a/src/modules/information/more_notify.c +++ b/src/modules/information/more_notify.c @@ -119,7 +119,7 @@ static void indicator_more_notify_change_cb(const char *key, void *data) if (strcmp(key, INDICATOR_MORE_NOTI) == 0) { win = &(ad->win); } else { - SECURE_ERR("invalid val %s",key); + _E("invalid value!"); return; } @@ -100,10 +100,6 @@ void util_signal_emit(void* data, const char *emission, const char *source) char *filter1 = "indicator.connection.updown"; char *filter2 = "indicator.wifi.updown"; - if (strncmp(filter1, emission, strlen(filter1)) != 0 - && strncmp(filter2, emission, strlen(filter2)) != 0) { - SECURE_DBG("emission %s",emission); - } edje = elm_layout_edje_get(ad->win.layout); ret_if(!edje); @@ -572,10 +568,9 @@ int util_dynamic_state_get(void) Ecore_File_Monitor* util_file_monitor_add(const char* file_path, Ecore_File_Monitor_Cb callback_func, void *ad) { - SECURE_DBG("File path : %s", file_path); Ecore_File_Monitor* pFileMonitor = NULL; pFileMonitor = ecore_file_monitor_add(file_path, callback_func, ad); - if(pFileMonitor == NULL) SECURE_DBG("ecore_file_monitor_add return NULL !!"); + if(pFileMonitor == NULL) _D("ecore_file_monitor_add return NULL !!"); return pFileMonitor; } |