summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_grid.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-05-02 14:17:19 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-05-02 14:17:19 +0900
commitb64a2994b3b277cbe7fce17d7ee275fd0d78c925 (patch)
tree3fd83519240da48e2355dfc6caa2415a2a77e282 /src/lib/evas/canvas/evas_object_grid.c
parentaf401b408343b57ced7f98eaded1e4c59337d0aa (diff)
Revert "Efl: replace eo_data_get for objects data referencing."
This reverts commit 654a3f5f94c2464b8563d27da94a78398c112962.
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 f2a5779..7fe2042 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
47}; 47};
48 48
49#define EVAS_OBJECT_GRID_DATA_GET(o, ptr) \ 49#define EVAS_OBJECT_GRID_DATA_GET(o, ptr) \
50 Evas_Object_Grid_Data *ptr = eo_data_scope_get(o, MY_CLASS) 50 Evas_Object_Grid_Data *ptr = eo_data_get(o, MY_CLASS)
51 51
52#define EVAS_OBJECT_GRID_DATA_GET_OR_RETURN(o, ptr) \ 52#define EVAS_OBJECT_GRID_DATA_GET_OR_RETURN(o, ptr) \
53 EVAS_OBJECT_GRID_DATA_GET(o, ptr); \ 53 EVAS_OBJECT_GRID_DATA_GET(o, ptr); \
@@ -170,7 +170,7 @@ _evas_object_grid_smart_add(Evas_Object *o)
170 priv = evas_object_smart_data_get(o); 170 priv = evas_object_smart_data_get(o);
171 if (!priv) 171 if (!priv)
172 { 172 {
173 priv = eo_data_ref(o, MY_CLASS); 173 priv = eo_data_get(o, MY_CLASS);
174 evas_object_smart_data_set(o, priv); 174 evas_object_smart_data_set(o, priv);
175 } 175 }
176 176