$(NULL)
generated-bindings.stamp : Makefile.am $(top_srcdir)/data/org.freedesktop.UDisks.xml $(top_srcdir)/data/org.freedesktop.UDisks.Device.xml
- gdbus-binding-tool \
+ gdbus-codegen \
--strip-prefix org.freedesktop.UDisks. \
--output-prefix generated \
$(top_srcdir)/data/org.freedesktop.UDisks.xml \
}
g_object_set_data (G_OBJECT (device), "daemon-export-id", GUINT_TO_POINTER (id));
ret = TRUE;
+ g_print ("registered object path `%s'\n", linux_device_get_object_path (device));
}
else
{
{
if (daemon_export_id > 0)
{
- g_dbus_connection_unregister_object (daemon->priv->connection, daemon_export_id);
+ g_warn_if_fail (g_dbus_connection_unregister_object (daemon->priv->connection, daemon_export_id));
g_object_set_data (G_OBJECT (device), "daemon-export-id", GUINT_TO_POINTER (0));
ret = TRUE;
+ g_print ("unregistered object path `%s'\n", linux_device_get_object_path (device));
}
else
{