[popup]: standardisation
authorshilpa <shilpa.singh@samsung.com>
Fri, 4 Jun 2010 10:13:00 +0000 (19:13 +0900)
committershilpa <shilpa.singh@samsung.com>
Fri, 4 Jun 2010 10:13:00 +0000 (19:13 +0900)
src/lib/elm_popup.c

index ab8f7e3..2e046df 100755 (executable)
@@ -105,11 +105,11 @@ static void
 _sizing_eval(Evas_Object *obj)\r
 {\r
        Widget_Data *wd = elm_widget_data_get(obj);\r
-       Evas_Coord minw = -1, minh = -1;\r
+       Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;\r
 \r
        edje_object_size_min_calc(elm_layout_edje_get(wd->layout), &minw, &minh);\r
        evas_object_size_hint_min_set(obj, minw, minh);\r
-       evas_object_size_hint_max_set(obj, -1, -1);\r
+       evas_object_size_hint_max_set(obj, maxw, maxh);\r
 }\r
 \r
 static void\r