aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-07-26 10:55:31 -0400
committerChris Michael <cp.michael@samsung.com>2016-07-26 10:55:31 -0400
commitacbba9b03be18bf9c90311abba8d538b42640601 (patch)
tree80e37472c8f472971bff52c050b51c81b58a0c23
parentedje_pick: copy block 'data' (diff)
downloadefl-acbba9b03be18bf9c90311abba8d538b42640601.tar.gz
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 <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_display.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c
index 0df55f519d..77f6b2853d 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);