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:
9cc180b
)
safety - check wd return for null.
author
Carsten Haitzler
<raster@rasterman.com>
Wed, 12 Jan 2011 10:04:11 +0000
(10:04 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Wed, 12 Jan 2011 10:04:11 +0000
(10:04 +0000)
SVN revision: 56056
src/lib/elm_list.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_list.c
b/src/lib/elm_list.c
index 19e2a8fd6fc98907ccd2a1665459de7279d595da..02444c8fb9e4b8dc4bcac7af10fa0d8642cc63fe 100644
(file)
--- a/
src/lib/elm_list.c
+++ b/
src/lib/elm_list.c
@@
-440,6
+440,7
@@
_show_region_hook(void *data, Evas_Object *obj)
{
Widget_Data *wd = elm_widget_data_get(data);
Evas_Coord x, y, w, h;
+ if (!wd) return;
elm_widget_show_region_get(obj, &x, &y, &w, &h);
elm_smart_scroller_child_region_show(wd->scr, x, y, w, h);
}