summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-02-28 12:28:02 -0500
committerChris Michael <cp.michael@samsung.com>2017-02-28 12:28:02 -0500
commitb0bd191f7b19178293ad4712622057ca0532e25e (patch)
treeefd3f4f2fc95e133d7ccc6e7411fb338823c0d29 /src
parentdfb2af6974799ef3b2dcace5e2d30fd69b50edd1 (diff)
ecore-wl2: Use EINA_ITERATOR_FOREACH macro
Small patch to change from while (iterator) to using the EINA_ITERATOR_FOREACH macro...that I had forgotten about...thanks Mike ;) Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c
index 4c6efe3953..2437699461 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -411,7 +411,7 @@ _ecore_wl2_global_find(Ecore_Wl2_Display *ewd, const char *interface)
411 itr = eina_hash_iterator_data_new(ewd->globals); 411 itr = eina_hash_iterator_data_new(ewd->globals);
412 if (!itr) return NULL; 412 if (!itr) return NULL;
413 413
414 while (eina_iterator_next(itr, &data)) 414 EINA_ITERATOR_FOREACH(itr, data)
415 { 415 {
416 Ecore_Wl2_Global *g = NULL; 416 Ecore_Wl2_Global *g = NULL;
417 417