summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2013-11-18 13:15:56 +0900
committerChunEon Park <hermet@hermet.pe.kr>2013-11-18 13:15:56 +0900
commit3277efb643905f5d3b516101016ffb6a0fa6df76 (patch)
tree66b8c151190255118ddbb0fa8449d92f9a41917a /src
parent5a3a3e9a3c25c5ae36b79610084835f98b3a1a0d (diff)
elementary - added a warning for elm_widget_item_track().
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_widget.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 668df32e1..d06a6b694 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -5354,7 +5354,11 @@ elm_widget_item_track(Elm_Widget_Item *item)
5354 return item->track_obj; 5354 return item->track_obj;
5355 } 5355 }
5356 5356
5357 if (!item->view) return NULL; 5357 if (!item->view)
5358 {
5359 WRN("view obj of the item(%p) is invalid. Please make sure the view obj is created!", item);
5360 return NULL;
5361 }
5358 5362
5359 Evas_Object *track = 5363 Evas_Object *track =
5360 evas_object_rectangle_add(evas_object_evas_get(item->widget)); 5364 evas_object_rectangle_add(evas_object_evas_get(item->widget));