elm_entry: fix build on not wayland systems 19/120719/1
authorVyacheslav Reutskiy <v.reutskiy@samsung.com>
Tue, 21 Mar 2017 09:10:45 +0000 (11:10 +0200)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 24 Mar 2017 02:11:38 +0000 (11:11 +0900)
@fix

Change-Id: Ie586362707d3a94d458172d7dc8c27aade39925a
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
src/lib/elm_entry.c

index 96d106f..d236b1d 100644 (file)
@@ -2248,12 +2248,14 @@ _elm_entry_elm_widget_on_focus(Eo *obj, Elm_Entry_Data *sd, Elm_Object_Item *ite
                elm_interface_atspi_accessible_state_changed_signal_emit(obj, ELM_ATSPI_STATE_FOCUSED, EINA_TRUE);
              _return_key_enabled_check(obj);
              _validate(obj);
+#ifdef HAVE_ELEMENTARY_WAYLAND
              //TIZEN_ONLY(20170106): send focused entry type to CBHM
              if (sd->cnp_mode == ELM_CNP_MODE_PLAINTEXT)
                eldbus_proxy_call(sd->cbhm_proxy, "CbhmSetInputTextType", NULL, NULL, -1, "s", "text");
              else
                eldbus_proxy_call(sd->cbhm_proxy, "CbhmSetInputTextType", NULL, NULL, -1, "s", "image");
              //
+#endif /* HAVE_ELEMENTARY_WAYLAND */
           }
      }
    else