summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_widget_entry.h
diff options
context:
space:
mode:
authorDaniel Juyung Seo <juyung.seo@samsung.com>2013-12-26 13:03:55 +0900
committerDaniel Juyung Seo <juyung.seo@samsung.com>2013-12-26 13:03:55 +0900
commite63dd3110aaa64413b799b8079fa27880b5b29c0 (patch)
tree2801de1bd1776311c2d8dab590571171ffbd0779 /legacy/elementary/src/lib/elm_widget_entry.h
parent38f16267731a7836b0d30ffb62ff769d636e8125 (diff)
elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT, CRITICAL -, I concluded to unify them to one. Discussed on IRC and finally, CRI was chosen to meet the consistency with other macros - ERR, WRN, INF, DBG - in terms of the number of characters. If there is any missing bits, please let me know.
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/lib/elm_widget_entry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_widget_entry.h b/legacy/elementary/src/lib/elm_widget_entry.h
index 6548781..4e37a10 100644
--- a/legacy/elementary/src/lib/elm_widget_entry.h
+++ b/legacy/elementary/src/lib/elm_widget_entry.h
@@ -149,7 +149,7 @@ typedef enum _Length_Unit
149 ELM_ENTRY_DATA_GET(o, ptr); \ 149 ELM_ENTRY_DATA_GET(o, ptr); \
150 if (!ptr) \ 150 if (!ptr) \
151 { \ 151 { \
152 CRITICAL("No widget data for object %p (%s)", \ 152 CRI("No widget data for object %p (%s)", \
153 o, evas_object_type_get(o)); \ 153 o, evas_object_type_get(o)); \
154 return; \ 154 return; \
155 } 155 }
@@ -158,7 +158,7 @@ typedef enum _Length_Unit
158 ELM_ENTRY_DATA_GET(o, ptr); \ 158 ELM_ENTRY_DATA_GET(o, ptr); \
159 if (!ptr) \ 159 if (!ptr) \
160 { \ 160 { \
161 CRITICAL("No widget data for object %p (%s)", \ 161 CRI("No widget data for object %p (%s)", \
162 o, evas_object_type_get(o)); \ 162 o, evas_object_type_get(o)); \
163 return val; \ 163 return val; \
164 } 164 }