}
}
}
+ } else {
+ result = ILM_SUCCESS;
}
return result;
}
_ilm_setup_param(¶m[14], DBUS_TYPE_UINT32,
&pSurfaceProperties->frameCounter);
- /* Setup message to send */
- DBusMessage *message;
- message = _ilm_dbus_method_call(g_ilm_client->dbus_connection,"GetPropertiesOfSurface",param,1);
- if (!message)
- {
- ILM_ERROR("ilm_getPropertiesOfSurface","IPC Method call not possible can't setup remote message\n");
- return ILM_ERROR_ON_CONNECTION;
- }
- ILM_CHECK_METHOD_ERROR(message);
+ /* Setup message to send */
+ DBusMessage *message;
+ message = _ilm_dbus_method_call(g_ilm_client->dbus_connection,"GetPropertiesOfSurface",param,1);
+ if (!message)
+ {
+ ILM_ERROR("ilm_getPropertiesOfSurface","IPC Method call not possible can't setup remote message\n");
+ return ILM_ERROR_ON_CONNECTION;
+ }
+ ILM_CHECK_METHOD_ERROR(message);
// read the parameters
returnValue = _ilm_get_dbus_basic_elements(message, 14, ¶m[1]);
_ilm_setup_param(¶m[13], DBUS_TYPE_BOOLEAN,
&pLayerProperties->visibility);
- /* Setup message to send */
- DBusMessage *message;
- message = _ilm_dbus_method_call(g_ilm_client->dbus_connection,"GetPropertiesOfLayer", param, 1);
- if (!message)
- {
- ILM_ERROR("ilm_getPropertiesOfLayer","IPC Method call not possible can't setup remote message\n");
- return ILM_ERROR_ON_CONNECTION;
- }
- ILM_CHECK_METHOD_ERROR(message);
+ /* Setup message to send */
+ DBusMessage *message;
+ message = _ilm_dbus_method_call(g_ilm_client->dbus_connection,"GetPropertiesOfLayer", param, 1);
+ if (!message)
+ {
+ ILM_ERROR("ilm_getPropertiesOfLayer","IPC Method call not possible can't setup remote message\n");
+ return ILM_ERROR_ON_CONNECTION;
+ }
+ ILM_CHECK_METHOD_ERROR(message);
if (!message)
{
if (message)
{
ILM_CHECK_METHOD_ERROR(message);
+ result = ILM_SUCCESS;
_ilm_close_dbus_method_call(message);
}
else