elm_conform: initialize variables for resizing conformant part. 85/79485/2 accepted/tizen/common/20160712.150750 accepted/tizen/ivi/20160712.090934 accepted/tizen/mobile/20160712.090901 accepted/tizen/tv/20160712.090923 accepted/tizen/wearable/20160712.090855 submit/tizen/20160712.030217
authorHosang Kim <hosang12.kim@samsung.com>
Mon, 11 Jul 2016 12:12:27 +0000 (21:12 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 12 Jul 2016 02:55:25 +0000 (19:55 -0700)
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I1b757a72b79c268d38a34acd994c3b9d1e368cae

src/lib/elm_conform.c

index 7a7fc8b..27bcfc8 100644 (file)
@@ -178,6 +178,7 @@ _conformant_part_sizing_eval(Evas_Object *obj,
 
    if (part_type & ELM_CONFORMANT_VIRTUAL_KEYPAD_PART)
      {
+        sx = sy = sw = sh = -1;
 #ifdef HAVE_ELEMENTARY_X
         if ((!_conformant_part_geometry_get_from_env
                ("ILLUME_KBD", &sx, &sy, &sw, &sh)) && (xwin))
@@ -238,6 +239,7 @@ _conformant_part_sizing_eval(Evas_Object *obj,
 
    if (part_type & ELM_CONFORMANT_SOFTKEY_PART)
      {
+        sx = sy = sw = sh = -1;
 #ifdef HAVE_ELEMENTARY_X
         if ((!_conformant_part_geometry_get_from_env
                ("ILLUME_STK", &sx, &sy, &sw, &sh)) && (xwin))
@@ -254,6 +256,7 @@ _conformant_part_sizing_eval(Evas_Object *obj,
      }
    if (part_type & ELM_CONFORMANT_CLIPBOARD_PART)
      {
+        sx = sy = sw = sh = -1;
 #ifdef HAVE_ELEMENTARY_X
         if ((!_conformant_part_geometry_get_from_env
                ("ILLUME_CB", &sx, &sy, &sw, &sh)) && (xwin))