Fix invalid plug ID 40/181240/2
authorLukasz Wlazly <l.wlazly@partner.samsung.com>
Mon, 11 Jun 2018 07:25:36 +0000 (09:25 +0200)
committerLukasz Wlazly <l.wlazly@partner.samsung.com>
Mon, 11 Jun 2018 07:38:37 +0000 (07:38 +0000)
Invalid version of this property was causing errors
during communication over DBus.

Change-Id: I1cabe34842a940760e89939618d80888acceb284

screen_connector_remote_surface_evas/image.cc

index 098b0a8..df4558a 100644 (file)
@@ -53,7 +53,7 @@ Image::Image(Evas_Object* raw, IEventListener* listener,
   /* Set data to use in accessibility */
   std::string plugId = instId + ":";
 
-  plugId += pid;
+  plugId += std::to_string(pid);
   evas_object_data_set(GetRaw(), "___PLUGID", strdup(plugId.c_str()));
   evas_object_data_set(GetRaw(), SC_TOOLKIT_HANDLE_TAG, tag);
 }