ret = gdbus_send_message_with_sync(gdbus_connection, body, &reply, GESTURE_ENGINE_MSG_SEND_ERROR);
if (ret == GESTURE_ENGINE_ERROR_NONE) {
- gchar *msg = g_dbus_message_print (reply, 1);
- LOGD("Reply msg print : %s", msg);
- g_free(msg);
+ gchar *tmsg = g_dbus_message_print (reply, 1);
+ LOGD("Reply msg print : %s", tmsg);
+ g_free(tmsg);
}
if (body)
int ret = 0;
snprintf(xml_file_path, 256, "%s/capi-ui-gesture-gdbus.xml", GESTURE_SHARED_RESOURCE_PATH);
- ret = access(xml_file_path, R_OK);
- if (0 != ret) {
- LOGE("Introspection file is not exist. path(%s)", xml_file_path);
- return GESTURED_ERROR_OPERATION_FAILED;
- }
-
xml_file = fopen(xml_file_path, "r");
if (NULL == xml_file) {
- LOGE("Fail to open introspection file");
+ LOGE("Fail to open introspection file. path(%s)", xml_file_path);
return GESTURED_ERROR_OPERATION_FAILED;
}