devilhorns pushed a commit to branch master.

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

commit acbba9b03be18bf9c90311abba8d538b42640601
Author: Chris Michael <[email protected]>
Date:   Tue Jul 26 10:55:31 2016 -0400

    ecore-wl2: Remove error message during connect/reconnect
    
    Since session recovery can cause apps to constantly try and reconnect
    to the display server, we probably should not be filling logs here. On
    the other hand, any failures on first connect are now not going to
    display any error messages.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/ecore_wl2/ecore_wl2_display.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c 
b/src/lib/ecore_wl2/ecore_wl2_display.c
index 0df55f5..77f6b28 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -418,11 +418,7 @@ _ecore_wl2_display_connect(Ecore_Wl2_Display *ewd, 
Eina_Bool sync)
 
    /* try to connect to wayland display with this name */
    ewd->wl.display = wl_display_connect(ewd->name);
-   if (!ewd->wl.display)
-     {
-        ERR("Could not connect to display %s", ewd->name);
-        return EINA_FALSE;
-     }
+   if (!ewd->wl.display) return EINA_FALSE;
 
    ewd->wl.registry = wl_display_get_registry(ewd->wl.display);
    wl_registry_add_listener(ewd->wl.registry, &_registry_listener, ewd);

-- 


Reply via email to