Hi Pekka,
> if (modem->powered_pending == FALSE) {
> DBusConnection *conn = ofono_dbus_get_connection();
> - dbus_bool_t powered = FALSE;
> -
> modem->powered = FALSE;
> ofono_dbus_signal_property_changed(conn, modem->path,
> OFONO_MODEM_INTERFACE,
> "Powered", DBUS_TYPE_BOOLEAN,
> - &powered);
> + &modem->powered);
Actually this is the preferred approach and is more type safe. If you notice
cases where we don't do this, then please send a patch.
Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono