- WID 317087
Change-Id: I17af8ef3b970d511f80ad994ef164d0820524c31
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
static void zigbee_on_bus_acquired(GDBusConnection *connection,
const gchar *name, gpointer user_data)
{
static void zigbee_on_bus_acquired(GDBusConnection *connection,
const gchar *name, gpointer user_data)
{
+ gboolean ret;
+ GError *error = NULL;
ZigbeeObjectSkeleton *zigbee_object;
ZigBeeServiceInterface *service_interface = (ZigBeeServiceInterface *)user_data;
ZigBeeService *service = NULL;
ZigbeeObjectSkeleton *zigbee_object;
ZigBeeServiceInterface *service_interface = (ZigBeeServiceInterface *)user_data;
ZigBeeService *service = NULL;
/*
* Export 'manager' interface on ZigBee D-BUS
*/
/*
* Export 'manager' interface on ZigBee D-BUS
*/
- g_dbus_interface_skeleton_export(G_DBUS_INTERFACE_SKELETON(custom_data->zigbee_mgr),
- connection, ZIGBEE_DBUS_PATH, NULL);
-
+ ret = g_dbus_interface_skeleton_export(G_DBUS_INTERFACE_SKELETON(custom_data->zigbee_mgr),
+ connection, ZIGBEE_DBUS_PATH, &error);
+ if (FALSE == ret) {
+ /* LCOV_EXCL_START */
+ Z_LOGW("g_dbus_interface_skeleton_export() Fail(%s)", error->message);
+ g_error_free(error);
+ /* LCOV_EXCL_STOP */
+ }
/*
* Exports all objects managed by 'manager' on Connection (connection)
*/
/*
* Exports all objects managed by 'manager' on Connection (connection)
*/