aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_object_grid.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-08-29 11:39:43 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-08-29 11:39:43 +0000
commit99879457198f71b847aad71cbaa731fb768935d2 (patch)
tree2457e9f6698b122820853ccf7bce0ec559dd1387 /legacy/evas/src/lib/canvas/evas_object_grid.c
parenteio: improve eio_dir_stat_ls to work with Eio_Associate and make it faster. (diff)
downloadefl-99879457198f71b847aad71cbaa731fb768935d2.tar.gz
dont need ti check priv - macro did it anyway
SVN revision: 62941
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_object_grid.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_grid.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_grid.c b/legacy/evas/src/lib/canvas/evas_object_grid.c
index 9b4a3c5af9..0fac12ed04 100644
--- a/legacy/evas/src/lib/canvas/evas_object_grid.c
+++ b/legacy/evas/src/lib/canvas/evas_object_grid.c
@@ -267,16 +267,8 @@ EAPI void
evas_object_grid_size_get(const Evas_Object *o, int *w, int *h)
{
EVAS_OBJECT_GRID_DATA_GET_OR_RETURN(o, priv);
- if (priv)
- {
- if (w) *w = priv->size.w;
- if (h) *h = priv->size.h;
- }
- else
- {
- if (w) *w = 0;
- if (h) *h = 0;
- }
+ if (w) *w = priv->size.w;
+ if (h) *h = priv->size.h;
}
EAPI Eina_Bool