From 6c46adc849c1b1e8702a1ed236a48b0da86ac1eb Mon Sep 17 00:00:00 2001 From: Seungha Son Date: Mon, 26 Jun 2017 19:22:55 +0900 Subject: [PATCH] Modify log string Signed-off-by: Seungha Son Change-Id: I6f05f27677318de9fe61db4bf50de1c04ead818e --- src/main.c | 2 +- src/notification_service.c | 2 +- src/shortcut_service.c | 8 ++++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 7329b74..dd92856 100755 --- a/src/main.c +++ b/src/main.c @@ -186,7 +186,7 @@ int main(int argc, char *argv[]) signal_handler = ecore_main_fd_handler_add( ret, ECORE_FD_READ, signal_cb, NULL, NULL, NULL); - CRITICAL_LOG("Signal handler initiated: %d\n", ret); + CRITICAL_LOG("Signal handler initialized: %d\n", ret); } app_create(); diff --git a/src/notification_service.c b/src/notification_service.c index be78fb6..65104f1 100755 --- a/src/notification_service.c +++ b/src/notification_service.c @@ -2306,7 +2306,7 @@ HAPI int notification_service_init(void) if (uids) free(uids); - DbgPrint("Successfully initiated\n"); + DbgPrint("Successfully initialized\n"); return NOTIFICATION_ERROR_NONE; } diff --git a/src/shortcut_service.c b/src/shortcut_service.c index 7a4e8b9..2ea9e92 100755 --- a/src/shortcut_service.c +++ b/src/shortcut_service.c @@ -357,13 +357,17 @@ int shortcut_send_return_value(GVariant *parameters, GVariant **reply_body) */ HAPI int shortcut_service_init(void) { - DbgPrint("Successfully initiated\n"); int result; _monitoring_hash = g_hash_table_new(g_direct_hash, g_direct_equal); _invocation_hash = g_hash_table_new_full(g_str_hash, g_str_equal, free, NULL); + result = shortcut_register_dbus_interface(); - if (result != SERVICE_COMMON_ERROR_NONE) + if (result != SERVICE_COMMON_ERROR_NONE) { ErrPrint("shortcut register dbus fail %d", result); + return result; + } + + DbgPrint("Successfully initialized\n"); return result; } -- 2.7.4