summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinwoo Kim <cinoo.kim@samsung.com>2018-02-01 14:20:20 +0900
committerShinwoo Kim <cinoo.kim@samsung.com>2018-02-01 14:20:57 +0900
commit8aaa3502622ae06e84ff033584765a6ce1ef5399 (patch)
treed9e72c29d612b85b06fa6cbcd2f4f6ace41aa089
parent9f2e1d050f054c386e691439a8e640d78693e67e (diff)
Use ERR instead of CRI if *DATA_GET* returns NULL
This patch set is for remains.
-rw-r--r--src/lib/elementary/elm_widget.h2
-rw-r--r--src/lib/evas/canvas/evas_object_box.c4
-rw-r--r--src/lib/evas/canvas/evas_object_grid.c4
-rw-r--r--src/lib/evas/canvas/evas_object_table.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h
index 3a8267b..e0df6cf 100644
--- a/src/lib/elementary/elm_widget.h
+++ b/src/lib/elementary/elm_widget.h
@@ -765,7 +765,7 @@ Efl_Canvas_Object * _efl_ui_widget_bg_get(Efl_Ui_Widget *obj);
765 ptr = efl_data_scope_get(o, EFL_UI_WIDGET_CLASS); \ 765 ptr = efl_data_scope_get(o, EFL_UI_WIDGET_CLASS); \
766 if (EINA_UNLIKELY(!ptr)) \ 766 if (EINA_UNLIKELY(!ptr)) \
767 { \ 767 { \
768 CRI("no widget data for object %p (%s)", \ 768 ERR("No widget data for object %p (%s)", \
769 o, evas_object_type_get(o)); \ 769 o, evas_object_type_get(o)); \
770 return __VA_ARGS__; \ 770 return __VA_ARGS__; \
771 } 771 }
diff --git a/src/lib/evas/canvas/evas_object_box.c b/src/lib/evas/canvas/evas_object_box.c
index bbe66b2..0a768d6 100644
--- a/src/lib/evas/canvas/evas_object_box.c
+++ b/src/lib/evas/canvas/evas_object_box.c
@@ -48,7 +48,7 @@ static void _sizing_eval(Evas_Object *obj);
48 EVAS_OBJECT_BOX_DATA_GET(o, ptr); \ 48 EVAS_OBJECT_BOX_DATA_GET(o, ptr); \
49if (!ptr) \ 49if (!ptr) \
50{ \ 50{ \
51 CRI("no widget data for object %p (%s)", \ 51 ERR("No widget data for object %p (%s)", \
52 o, evas_object_type_get(o)); \ 52 o, evas_object_type_get(o)); \
53 fflush(stderr); \ 53 fflush(stderr); \
54 return; \ 54 return; \
@@ -58,7 +58,7 @@ if (!ptr) \
58 EVAS_OBJECT_BOX_DATA_GET(o, ptr); \ 58 EVAS_OBJECT_BOX_DATA_GET(o, ptr); \
59if (!ptr) \ 59if (!ptr) \
60{ \ 60{ \
61 CRI("no widget data for object %p (%s)", \ 61 ERR("No widget data for object %p (%s)", \
62 o, evas_object_type_get(o)); \ 62 o, evas_object_type_get(o)); \
63 fflush(stderr); \ 63 fflush(stderr); \
64 return val; \ 64 return val; \
diff --git a/src/lib/evas/canvas/evas_object_grid.c b/src/lib/evas/canvas/evas_object_grid.c
index 8aab7cf..f323384 100644
--- a/src/lib/evas/canvas/evas_object_grid.c
+++ b/src/lib/evas/canvas/evas_object_grid.c
@@ -49,7 +49,7 @@ struct _Evas_Object_Grid_Accessor
49 EVAS_OBJECT_GRID_DATA_GET(o, ptr); \ 49 EVAS_OBJECT_GRID_DATA_GET(o, ptr); \
50 if (!ptr) \ 50 if (!ptr) \
51 { \ 51 { \
52 CRI("no widget data for object %p (%s)", \ 52 ERR("No widget data for object %p (%s)", \
53 o, evas_object_type_get(o)); \ 53 o, evas_object_type_get(o)); \
54 return; \ 54 return; \
55 } 55 }
@@ -58,7 +58,7 @@ struct _Evas_Object_Grid_Accessor
58 EVAS_OBJECT_GRID_DATA_GET(o, ptr); \ 58 EVAS_OBJECT_GRID_DATA_GET(o, ptr); \
59 if (!ptr) \ 59 if (!ptr) \
60 { \ 60 { \
61 CRI("No widget data for object %p (%s)", \ 61 ERR("No widget data for object %p (%s)", \
62 o, evas_object_type_get(o)); \ 62 o, evas_object_type_get(o)); \
63 return val; \ 63 return val; \
64 } 64 }
diff --git a/src/lib/evas/canvas/evas_object_table.c b/src/lib/evas/canvas/evas_object_table.c
index a07461f..6db28e7 100644
--- a/src/lib/evas/canvas/evas_object_table.c
+++ b/src/lib/evas/canvas/evas_object_table.c
@@ -105,7 +105,7 @@ struct _Evas_Object_Table_Accessor
105 EVAS_OBJECT_TABLE_DATA_GET(o, ptr); \ 105 EVAS_OBJECT_TABLE_DATA_GET(o, ptr); \
106if (!ptr) \ 106if (!ptr) \
107{ \ 107{ \
108 CRI("no widget data for object %p (%s)", \ 108 ERR("No widget data for object %p (%s)", \
109 o, evas_object_type_get(o)); \ 109 o, evas_object_type_get(o)); \
110 return; \ 110 return; \
111} 111}
@@ -114,7 +114,7 @@ if (!ptr) \
114 EVAS_OBJECT_TABLE_DATA_GET(o, ptr); \ 114 EVAS_OBJECT_TABLE_DATA_GET(o, ptr); \
115if (!ptr) \ 115if (!ptr) \
116{ \ 116{ \
117 CRI("No widget data for object %p (%s)", \ 117 ERR("No widget data for object %p (%s)", \
118 o, evas_object_type_get(o)); \ 118 o, evas_object_type_get(o)); \
119 return val; \ 119 return val; \
120} 120}