e_client: build fix
authorDaniel Kolesa <quaker66@gmail.com>
Tue, 25 Feb 2014 19:40:19 +0000 (19:40 +0000)
committerDaniel Kolesa <quaker66@gmail.com>
Tue, 25 Feb 2014 19:40:37 +0000 (19:40 +0000)
src/bin/e_client.c

index f5d651e..a835da7 100644 (file)
@@ -2880,8 +2880,8 @@ e_client_below_get(const E_Client *ec)
    E_Client *ec2;
    Eina_Inlist *l;
 
-   E_OBJECT_CHECK(ec);
-   E_OBJECT_TYPE_CHECK(ec, E_CLIENT_TYPE);
+   E_OBJECT_CHECK_RETURN(ec, NULL);
+   E_OBJECT_TYPE_CHECK_RETURN(ec, E_CLIENT_TYPE, NULL);
 
    EINA_SAFETY_ON_NULL_RETURN_VAL(ec, NULL);
    if (EINA_INLIST_GET(ec)->prev) //check current layer