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:
658aa30
)
[elm] Fix bad gengrid porting on a function.
author
Gustavo Lima Chaves
<glima@profusion.mobi>
Wed, 18 Jul 2012 21:03:46 +0000
(21:03 +0000)
committer
Gustavo Lima Chaves
<glima@profusion.mobi>
Wed, 18 Jul 2012 21:03:46 +0000
(21:03 +0000)
SVN revision: 74149
src/lib/elm_gengrid.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_gengrid.c
b/src/lib/elm_gengrid.c
index
cfca448
..
3dd638a
100644
(file)
--- a/
src/lib/elm_gengrid.c
+++ b/
src/lib/elm_gengrid.c
@@
-2753,6
+2753,13
@@
elm_gengrid_item_update(Elm_Object_Item *item)
EAPI const Elm_Gengrid_Item_Class *
elm_gengrid_item_item_class_get(const Elm_Object_Item *it)
{
+ Elm_Gen_Item *item = (Elm_Gen_Item *)it;
+
+ ELM_GENGRID_ITEM_CHECK_OR_RETURN(it, NULL);
+
+ if (item->generation < GG_IT(item)->wsd->generation) return NULL;
+ return item->itc;
+
return (Elm_Gengrid_Item_Class *)elm_gengrid_item_item_class_get(it);
}