From d27898e4e1ced5a52788592f79337a3334a6b203 Mon Sep 17 00:00:00 2001 From: Junghoon Park Date: Fri, 16 Jun 2017 10:50:23 +0900 Subject: [PATCH] Fix a bug about sending wrong type of parameter Change-Id: Ifaa671e07cdc659934dc7d276e8823db9f363c9b Signed-off-by: Junghoon Park --- include/aul_window.h | 2 +- src/aul_window.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/aul_window.h b/include/aul_window.h index 83cf4bc..e49f04f 100755 --- a/include/aul_window.h +++ b/include/aul_window.h @@ -63,7 +63,7 @@ int aul_window_stack_del(aul_window_stack_h handle); * @return 0 if success, negative value(<0) if fail * */ -int aul_window_stack_foreach(aul_window_stack_h *handle, +int aul_window_stack_foreach(aul_window_stack_h handle, void (*iter_cb)(aul_window_info_h info, void *data), void *data); /** diff --git a/src/aul_window.c b/src/aul_window.c index 82d8c48..068d3d0 100644 --- a/src/aul_window.c +++ b/src/aul_window.c @@ -154,7 +154,7 @@ API int aul_window_stack_del(aul_window_stack_h handle) return 0; } -API int aul_window_stack_foreach(aul_window_stack_h *handle, +API int aul_window_stack_foreach(aul_window_stack_h handle, void (*iter_cb)(aul_window_info_h info, void *data), void *data) { GList *i = (GList*)handle; -- 2.7.4