derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d697e7936b16e6ddb7ea12c2661cd84f6f4acba6

commit d697e7936b16e6ddb7ea12c2661cd84f6f4acba6
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Wed Apr 11 11:25:21 2018 -0500

    ecore_wl2: Remove (beta) API ecore_wl2_window_iconified_get
    
    We actually can't ever query this, it's clearly defined that way in the
    protocol.  There is absolutely no way to ever know if we're iconified.
    
    ref T6834
---
 src/lib/ecore_wl2/Ecore_Wl2.h        | 12 ------------
 src/lib/ecore_wl2/ecore_wl2_window.c |  8 --------
 2 files changed, 20 deletions(-)

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 238aaef63b..5f65191ee1 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -1044,18 +1044,6 @@ EAPI void ecore_wl2_window_geometry_get(Ecore_Wl2_Window 
*window, int *x, int *y
 EAPI void ecore_wl2_window_geometry_set(Ecore_Wl2_Window *window, int x, int 
y, int w, int h);
 
 /**
- * Get the iconified state of a given window
- *
- * @param window The window to get the iconified state of
- *
- * @return EINA_TRUE if window is iconified, EINA_FALSE otherwise
- *
- * @ingroup Ecore_Wl2_Window_Group
- * @since 1.17
- */
-EAPI Eina_Bool ecore_wl2_window_iconified_get(Ecore_Wl2_Window *window);
-
-/**
  * Iconify a window
  *
  * @param win The window to iconifiy
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index 43ab769f80..fad7c3462a 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -1089,14 +1089,6 @@ ecore_wl2_window_geometry_set(Ecore_Wl2_Window *window, 
int x, int y, int w, int
    window->pending.geom = EINA_TRUE;
 }
 
-EAPI Eina_Bool
-ecore_wl2_window_iconified_get(Ecore_Wl2_Window *window)
-{
-   EINA_SAFETY_ON_NULL_RETURN_VAL(window, EINA_FALSE);
-
-   return window->set_config.minimized;
-}
-
 EAPI void
 ecore_wl2_window_iconified_set(Ecore_Wl2_Window *window, Eina_Bool iconified)
 {

-- 


Reply via email to