summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_grid.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 12:36:46 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 12:36:46 +0900
commit2fe5b511fdc3536995503bcef106ee7a3dd0531d (patch)
tree99db20ebb89ae43f1a049f9af33e2cf97a8fdeeb /src/lib/evas/canvas/evas_object_grid.c
parent783f81a25ffc661b47a7613476d77fd3365d2e18 (diff)
evas - grid - remove logically dead code
remove extra priv check that is not needed in grid - CID 1039458
Diffstat (limited to 'src/lib/evas/canvas/evas_object_grid.c')
-rw-r--r--src/lib/evas/canvas/evas_object_grid.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_grid.c b/src/lib/evas/canvas/evas_object_grid.c
index a0debc7..941f1bc 100644
--- a/src/lib/evas/canvas/evas_object_grid.c
+++ b/src/lib/evas/canvas/evas_object_grid.c
@@ -212,7 +212,6 @@ _evas_object_grid_smart_calculate(Evas_Object *o)
212 Eina_Bool mirror; 212 Eina_Bool mirror;
213 213
214 EVAS_OBJECT_GRID_DATA_GET_OR_RETURN(o, priv); 214 EVAS_OBJECT_GRID_DATA_GET_OR_RETURN(o, priv);
215 if (!priv) return;
216 if (!priv->children) return; 215 if (!priv->children) return;
217 evas_object_geometry_get(o, &x, &y, &w, &h); 216 evas_object_geometry_get(o, &x, &y, &w, &h);
218 mirror = priv->is_mirrored; 217 mirror = priv->is_mirrored;