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();
*/
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;
}