[Title] Checking the ewkView value before open clipboard window
[Issue#] PLM-P130404-4374
[Problem] Crash occured when open the clipboard window from IME button.
[Cause] Open clipboard window signal callback from IME is registed at EFL, OSP side also, So sometimes ewkView pointer has null value.
[Solution] Checking the ewkView value before open clipboard window. If ewkView value is null then it should be early return before open clipboard window.
Change-Id: Ibff6a2ab3b8c0c0e26fa034cefa54bd59ba69f79
Ecore_X_Window xCbhmWin = getCbhmWindow();
Ecore_X_Atom xAtomCbhmMsg = ecore_x_atom_get("CBHM_MSG");
+ if (!m_viewImpl->view())
+ return false;
+
Evas_Object* parent = elm_object_parent_widget_get(m_viewImpl->view());
+
+ if (!parent)
+ return false;
+
Ecore_X_Window xWin = ecore_evas_gl_x11_window_get(ecore_evas_ecore_evas_get(evas_object_evas_get(parent)));
if (!xWin)
xWin = ecore_evas_software_x11_window_get(ecore_evas_ecore_evas_get(evas_object_evas_get(parent)));