Temporary fix of build break. wl_text_input_set_surrounding_text() is deprecated... 33/74533/2
authordongsug.song <dongsug.song@samsung.com>
Tue, 14 Jun 2016 11:59:26 +0000 (20:59 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 14 Jun 2016 13:16:23 +0000 (22:16 +0900)
Change-Id: Id3d1b3737139ca2fcb1c54fd7aa9e10fe124f678

adaptors/wayland/input/text/text-input-manager.cpp

index 4e12d5d..5144aea 100644 (file)
@@ -375,10 +375,7 @@ void TextInputManager::Reset()
 
 void TextInputManager::SetSurroundingText( std::string text, unsigned int cursor, unsigned int anchor )
 {
-  TextInputManager::SeatInfo& info = TextInputManager::Get().GetLastActiveSeat();
-
-  wl_text_input_set_surrounding_text( info.mSeat->GetTextInputInterface(), text.c_str(), cursor, anchor );
-
+  // set surrounding text API is subject to change in wayland.
   wl_display_flush( mDisplay );
 }