From: Doyoun Kang Date: Wed, 25 Sep 2024 02:08:30 +0000 (+0900) Subject: refactor: replace code to use E_APIs to access the E_Client structure X-Git-Tag: accepted/tizen/unified/20240926.050026~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F318133%2F1;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-rdp.git refactor: replace code to use E_APIs to access the E_Client structure Change-Id: I32f3583be49810b5da5a46818ee114287b254ca8 --- diff --git a/src/e_mod_rdp.c b/src/e_mod_rdp.c index 04a0871..346eedb 100644 --- a/src/e_mod_rdp.c +++ b/src/e_mod_rdp.c @@ -599,7 +599,7 @@ _e_rdp_cb_client_buffer_change(void *data, int type, void *event) ec = ev->ec; EINA_SAFETY_ON_TRUE_RETURN_VAL(e_object_is_del(E_OBJECT(ec)), ECORE_CALLBACK_PASS_ON); - EINA_SAFETY_ON_NULL_RETURN_VAL(ec->pixmap, ECORE_CALLBACK_PASS_ON); + EINA_SAFETY_ON_NULL_RETURN_VAL(e_client_pixmap_get(ec), ECORE_CALLBACK_PASS_ON); b = g_rdp_backend; EINA_SAFETY_ON_NULL_RETURN_VAL(b, ECORE_CALLBACK_PASS_ON); @@ -631,7 +631,7 @@ _e_rdp_cb_client_uniconify(void *data, int type, void *event) ec = ev->ec; EINA_SAFETY_ON_TRUE_RETURN_VAL(e_object_is_del(E_OBJECT(ec)), ECORE_CALLBACK_PASS_ON); - EINA_SAFETY_ON_NULL_RETURN_VAL(ec->pixmap, ECORE_CALLBACK_PASS_ON); + EINA_SAFETY_ON_NULL_RETURN_VAL(e_client_pixmap_get(ec), ECORE_CALLBACK_PASS_ON); b = g_rdp_backend; EINA_SAFETY_ON_NULL_RETURN_VAL(b, ECORE_CALLBACK_PASS_ON);