Example #1
0
static void
_create_paired_device_cb(void *data, DBusMessage *msg, DBusError *err)
{
	e_dbus_object_interface_detach(_msgbus_data->obj, iface);
	e_dbus_object_free(_msgbus_data->obj);
	e_dbus_interface_unref(iface);
	_method_success_check(data, msg, err);
}
Example #2
0
static void
_e_fileman_dbus_daemon_free(E_Fileman_DBus_Daemon *d)
{
   if (d->pending.request_name)
     dbus_pending_call_cancel(d->pending.request_name);

   if (d->obj)
     {
        e_dbus_object_interface_detach(d->obj, d->iface);
        e_dbus_object_free(d->obj);
     }

   if (d->iface)
     e_dbus_interface_unref(d->iface);

   if (d->conn)
     e_dbus_connection_close(d->conn);

   free(d);
}
Example #3
0
EAPI void
e_msgbus_interface_detach(E_DBus_Interface *iface)
{
   if (!_e_msgbus_data->obj) return;
   e_dbus_object_interface_detach(_e_msgbus_data->obj, iface);
}