From 4ce5ec65952e2228c0f54cb2192cff4c60fc9ef7 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Mon, 15 Jul 2024 15:04:44 +0900 Subject: [PATCH] e_log: change code not to use direct access of E_Client's value Change-Id: I2bda87ab1188ce2126930ed1db1b242b1e8ebe7a --- src/include/e_log.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/include/e_log.h b/src/include/e_log.h index 05f59a6..81b0c76 100644 --- a/src/include/e_log.h +++ b/src/include/e_log.h @@ -79,11 +79,9 @@ #endif static inline Ecore_Window -e_log_client_util_win_get(const E_Client *ec) +e_log_client_util_win_get(E_Client *ec) { - if (!ec) return 0; - if (!ec->pixmap) return 0; - return e_pixmap_window_get(ec->pixmap); + return e_pixmap_window_get(e_client_pixmap_get(ec)); } # if (E_LOGGING >= 2) /* new version */ -- 2.7.4