From: Carsten Haitzler Date: Wed, 18 Feb 2009 05:32:47 +0000 (+0000) Subject: make finger size match docs! X-Git-Tag: v1.0.0~5475 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c742b5e1fd12c5c69119ae30799041a3f19b994;p=platform%2Fupstream%2Felementary.git make finger size match docs! SVN revision: 39075 --- diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c index a142f5c..552c247 100644 --- a/src/lib/elm_main.c +++ b/src/lib/elm_main.c @@ -294,8 +294,7 @@ elm_init(int argc, char **argv) _elm_config->finger_size = (double)_elm_config->finger_size * _elm_config->scale; if (elm_finger_size) - _elm_config->finger_size = - (double)(atoi(elm_finger_size)) * _elm_config->scale; + _elm_config->finger_size = atoi(elm_finger_size); /* FIXME: implement quickstart below */ /* if !quickstart return diff --git a/src/lib/elm_toggle.c b/src/lib/elm_toggle.c index 4601128..b57e0db 100644 --- a/src/lib/elm_toggle.c +++ b/src/lib/elm_toggle.c @@ -177,9 +177,6 @@ elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon) { elm_widget_sub_object_add(obj, icon); edje_object_part_swallow(wd->tgl, "elm.swallow.content", icon); - Evas_Coord mw, mh; - evas_object_size_hint_min_get(wd->icon, &mw, &mh); - printf("%ix%i\n", mw, mh); edje_object_signal_emit(wd->tgl, "elm,state,icon,visible", "elm"); evas_object_event_callback_add(icon, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _changed_size_hints, obj);