From 79e0406a40cd3a0396a58c5a5213aa215dca80f8 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 10 Jan 2012 11:18:55 +0000 Subject: [PATCH] E: Update eina_array_count function to not use deprecated one. SVN revision: 67014 --- src/bin/e_container.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_container.c b/src/bin/e_container.c index 2fbe770e5..041a50abd 100644 --- a/src/bin/e_container.c +++ b/src/bin/e_container.c @@ -837,7 +837,7 @@ _e_container_border_list_jump(E_Border_List *list, int dir) E_Border *bd; if ((list->pos < 0) || - (list->pos >= (int)eina_array_count_get(&(list->client_array)))) + (list->pos >= (int)eina_array_count(&(list->client_array)))) return NULL; bd = eina_array_data_get(&(list->client_array), list->pos); list->pos += dir; @@ -860,7 +860,7 @@ e_container_border_list_last(E_Container *con) E_Border_List *list = NULL; list = _e_container_border_list_new(con); - list->pos = eina_array_count_get(&(list->client_array)) - 1; + list->pos = eina_array_count(&(list->client_array)) - 1; return list; }