ecore_x: Fix build warning (invalid enum used)
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 16 May 2017 07:59:05 +0000 (16:59 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 16 May 2017 11:47:48 +0000 (20:47 +0900)
src/lib/ecore_x/ecore_x_e.c

index a879970..28645ad 100644 (file)
@@ -2455,7 +2455,7 @@ ecore_x_e_stack_position_get(Ecore_X_Window win)
    unsigned int val;
    LOGFN(__FILE__, __LINE__, __FUNCTION__);
 
-   EINA_SAFETY_ON_NULL_RETURN_VAL(_ecore_x_disp, ECORE_X_STACK_NONE);
+   EINA_SAFETY_ON_NULL_RETURN_VAL(_ecore_x_disp, ECORE_X_STACK_POSITION_NONE);
 
    ret = ecore_x_window_prop_card32_get(win, ECORE_X_ATOM_E_STACK_POSITION,
                                         &val, 1);