Remove unused variables.
authorChristopher Michael <cpmichael1@comcast.net>
Sat, 26 Sep 2009 20:16:37 +0000 (20:16 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Sat, 26 Sep 2009 20:16:37 +0000 (20:16 +0000)
SVN revision: 42732

src/lib/elm_toggle.c

index 7018804..874c2e5 100644 (file)
@@ -71,13 +71,13 @@ static void
 _sizing_eval(Evas_Object *obj)
 {
    Widget_Data *wd = elm_widget_data_get(obj);
-   Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;
+   Evas_Coord minw = -1, minh = -1;
 
    elm_coords_finger_size_adjust(1, &minw, 1, &minh);
    edje_object_size_min_restricted_calc(wd->tgl, &minw, &minh, minw, minh);
    elm_coords_finger_size_adjust(1, &minw, 1, &minh);
    evas_object_size_hint_min_set(obj, minw, minh);
-   evas_object_size_hint_max_set(obj, maxw, maxh);
+   evas_object_size_hint_max_set(obj, -1, -1);
 }
 
 static void