projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a3a3e9
)
elementary - added a warning for elm_widget_item_track().
author
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 18 Nov 2013 04:15:56 +0000
(13:15 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 18 Nov 2013 04:15:56 +0000
(13:15 +0900)
src/lib/elm_widget.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_widget.c
b/src/lib/elm_widget.c
index
668df32
..
d06a6b6
100644
(file)
--- a/
src/lib/elm_widget.c
+++ b/
src/lib/elm_widget.c
@@
-5354,7
+5354,11
@@
elm_widget_item_track(Elm_Widget_Item *item)
return item->track_obj;
}
- if (!item->view) return NULL;
+ if (!item->view)
+ {
+ WRN("view obj of the item(%p) is invalid. Please make sure the view obj is created!", item);
+ return NULL;
+ }
Evas_Object *track =
evas_object_rectangle_add(evas_object_evas_get(item->widget));