aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_object_grid.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-05-02 16:47:16 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-05-02 16:47:16 +0900
commitf8c9a8d16708ac52195a8df70493a1fc91872348 (patch)
treec78586a9c486bf2468ac4645521ba24a79c3df09 /src/lib/evas/canvas/evas_object_grid.c
parentRevert "Efl: replace eo_data_get for objects data referencing." (diff)
downloadefl-f8c9a8d16708ac52195a8df70493a1fc91872348.tar.gz
revert the revert... damn you git!
Revert "Revert "Efl: replace eo_data_get for objects data referencing."" This reverts commit b64a2994b3b277cbe7fce17d7ee275fd0d78c925.
Diffstat (limited to 'src/lib/evas/canvas/evas_object_grid.c')
-rw-r--r--src/lib/evas/canvas/evas_object_grid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_object_grid.c b/src/lib/evas/canvas/evas_object_grid.c
index 7fe2042698..f2a5779b27 100644
--- a/src/lib/evas/canvas/evas_object_grid.c
+++ b/src/lib/evas/canvas/evas_object_grid.c
@@ -47,7 +47,7 @@ struct _Evas_Object_Grid_Accessor
};
#define EVAS_OBJECT_GRID_DATA_GET(o, ptr) \
- Evas_Object_Grid_Data *ptr = eo_data_get(o, MY_CLASS)
+ Evas_Object_Grid_Data *ptr = eo_data_scope_get(o, MY_CLASS)
#define EVAS_OBJECT_GRID_DATA_GET_OR_RETURN(o, ptr) \
EVAS_OBJECT_GRID_DATA_GET(o, ptr); \
@@ -170,7 +170,7 @@ _evas_object_grid_smart_add(Evas_Object *o)
priv = evas_object_smart_data_get(o);
if (!priv)
{
- priv = eo_data_get(o, MY_CLASS);
+ priv = eo_data_ref(o, MY_CLASS);
evas_object_smart_data_set(o, priv);
}