From 1de22e380637d457b6c6b100ed077a70139c8ee8 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Mon, 1 Aug 2011 12:19:36 +0000 Subject: [PATCH] min size of a win is NOT -1!! SVN revision: 61948 --- legacy/elementary/src/lib/elm_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c index 501effb548..061b46c8c3 100644 --- a/legacy/elementary/src/lib/elm_win.c +++ b/legacy/elementary/src/lib/elm_win.c @@ -786,8 +786,8 @@ _elm_win_eval_subobjs(Evas_Object *obj) if (wy == 0.0) xy = 0; evas_object_size_hint_min_get(child, &w, &h); - if (w < 1) w = -1; - if (h < 1) h = -1; + if (w < 1) w = 1; + if (h < 1) h = 1; if (w > minw) minw = w; if (h > minh) minh = h;