From 9ca31034e1d7c56f1236f586b37bf3639efb1567 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Fri, 25 Apr 2025 11:12:03 +0900 Subject: [PATCH] e_pixmap: Drop e_pixmap_cdata_get The e_client_cdata_get is the replacement for e_pixmap_cdata_get. Change-Id: Ie9fb7087d49b1013609225eebcfd9fb617e3e9cf --- src/bin/core/e_pixmap.c | 8 -------- src/bin/server/e_comp_wl_tbm.c | 2 +- src/include/e_pixmap.h | 1 - 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/bin/core/e_pixmap.c b/src/bin/core/e_pixmap.c index 836be247e5..85e2cf9734 100644 --- a/src/bin/core/e_pixmap.c +++ b/src/bin/core/e_pixmap.c @@ -823,14 +823,6 @@ e_pixmap_image_opaque_get(E_Pixmap *cp, int *x, int *y, int *w, int *h) if (h) *h = cp->opaque.h; } -E_API E_Comp_Wl_Client_Data * -e_pixmap_cdata_get(E_Pixmap *cp) -{ - EINA_SAFETY_ON_NULL_RETURN_VAL(cp, NULL); - EINA_SAFETY_ON_NULL_RETURN_VAL(cp->client, NULL); - return e_client_cdata_get(cp->client); -} - E_API E_Pixmap_Hook * e_pixmap_hook_add(E_Pixmap_Hook_Point hookpoint, E_Pixmap_Hook_Cb func, const void *data) { diff --git a/src/bin/server/e_comp_wl_tbm.c b/src/bin/server/e_comp_wl_tbm.c index e45cafd409..1a05514d4c 100644 --- a/src/bin/server/e_comp_wl_tbm.c +++ b/src/bin/server/e_comp_wl_tbm.c @@ -393,7 +393,7 @@ e_comp_wl_tbm_client_queue_get(E_Client *ec) EINA_SAFETY_ON_NULL_RETURN_VAL(comp_wl, NULL); EINA_SAFETY_ON_NULL_RETURN_VAL(ec, NULL); - cdata = e_pixmap_cdata_get(ec->pixmap); + cdata = e_client_cdata_get(ec); if (!cdata) return NULL; if (!cdata->wl_surface) return NULL; diff --git a/src/include/e_pixmap.h b/src/include/e_pixmap.h index dbc835e9c4..66dd30435b 100644 --- a/src/include/e_pixmap.h +++ b/src/include/e_pixmap.h @@ -33,7 +33,6 @@ E_API int e_pixmap_free(E_Pixmap *cp); E_API E_Pixmap *e_pixmap_ref(E_Pixmap *cp); E_API E_Pixmap_Type e_pixmap_type_get(const E_Pixmap *cp); E_API void *e_pixmap_resource_get(E_Pixmap *cp); -E_API E_Comp_Wl_Client_Data *e_pixmap_cdata_get(E_Pixmap *cp); E_API void e_pixmap_resource_set(E_Pixmap *cp, void *resource); E_API void e_pixmap_clear(E_Pixmap *cp); E_API Eina_Bool e_pixmap_usable_get(const E_Pixmap *cp); -- 2.34.1