diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2016-02-02 11:20:22 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2016-02-02 11:20:22 +0900 |
commit | 19a7041dbd7726f24cc6eff689f6ff849320ecd6 (patch) | |
tree | a9c01745204c7aa400fe88a7fc58b081ae63db23 /src/app_main.c | |
parent | 219f14076eefec7275b40754932c791f593bc158 (diff) | |
download | application-19a7041dbd7726f24cc6eff689f6ff849320ecd6.tar.gz application-19a7041dbd7726f24cc6eff689f6ff849320ecd6.tar.bz2 application-19a7041dbd7726f24cc6eff689f6ff849320ecd6.zip |
Remove compile warning messagessubmit/tizen_ivi/20160217.000001submit/tizen_ivi/20160217.000000submit/tizen_common/20160217.131930submit/tizen/20160202.023804accepted/tizen/wearable/20160202.114732accepted/tizen/tv/20160202.114653accepted/tizen/mobile/20160202.114607accepted/tizen/ivi/20160218.022838accepted/tizen/common/20160217.170705
Change-Id: If6b5550afccabb99bc735c0e310f4acef49423bb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Diffstat (limited to 'src/app_main.c')
-rw-r--r-- | src/app_main.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/app_main.c b/src/app_main.c index 661ef0a..83451e3 100644 --- a/src/app_main.c +++ b/src/app_main.c @@ -32,6 +32,9 @@ #include <app_internal.h> #include <app_control_internal.h> +#include <tizen_error.h> + +#include "app_extension.h" #ifdef LOG_TAG #undef LOG_TAG @@ -803,7 +806,7 @@ void *ui_app_get_default_window(const char *win_name) Evas_Object *win; if (win_name == NULL) { - set_last_error(TIZEN_ERROR_INVALID_PARAMETER); + set_last_result(TIZEN_ERROR_INVALID_PARAMETER); return NULL; } @@ -811,12 +814,12 @@ void *ui_app_get_default_window(const char *win_name) if (win == NULL) { win = elm_win_add(NULL, win_name, ELM_WIN_BASIC); if (win == NULL) { - set_last_error(TIZEN_ERROR_IO_ERROR); + set_last_result(TIZEN_ERROR_IO_ERROR); LOGE("failed to get window"); return NULL; } } - set_last_error(TIZEN_ERROR_NONE); + set_last_result(TIZEN_ERROR_NONE); return win; } |