ecore-wl2: Remove error message during connect/reconnect
authorChris Michael <cp.michael@samsung.com>
Tue, 26 Jul 2016 14:55:31 +0000 (10:55 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 26 Jul 2016 14:55:31 +0000 (10:55 -0400)
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 <cp.michael@samsung.com>
src/lib/ecore_wl2/ecore_wl2_display.c

index 0df55f5..77f6b28 100644 (file)
@@ -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);