From ac54dbc1378a3ad81a15931ed9325bfb75102403 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Sat, 26 Sep 2009 21:15:29 +0000 Subject: [PATCH] No need to use variables for this. Just code the -1 value into the function call & save the register space by not using the variables. SVN revision: 42733 --- src/lib/elc_notepad.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/elc_notepad.c b/src/lib/elc_notepad.c index abf96c4..8c42a2a 100644 --- a/src/lib/elc_notepad.c +++ b/src/lib/elc_notepad.c @@ -51,10 +51,9 @@ 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_object_size_hint_min_set(obj, minw, minh); - evas_object_size_hint_max_set(obj, maxw, maxh); + evas_object_size_hint_min_set(obj, -1, -1); + evas_object_size_hint_max_set(obj, -1, -1); } static void -- 2.7.4