fpi-ssm: Make clearer that data is unused in fpi_ssm_usb_transfer_cb

This commit is contained in:
Marco Trevisan (Treviño) 2019-11-27 20:19:54 +01:00
parent 587131a6bd
commit 9892eb1c03
2 changed files with 3 additions and 3 deletions

View file

@ -394,7 +394,7 @@ fpi_ssm_next_state_timeout_cb (FpDevice *dev,
* fpi_ssm_usb_transfer_cb:
* @transfer: a #FpiUsbTransfer
* @device: a #FpDevice
* @ssm_data: User data (unused)
* @unused_data: User data (unused)
* @error: The #GError or %NULL
*
* Can be used in as a #FpiUsbTransfer callback handler to automatically
@ -404,7 +404,7 @@ fpi_ssm_next_state_timeout_cb (FpDevice *dev,
*/
void
fpi_ssm_usb_transfer_cb (FpiUsbTransfer *transfer, FpDevice *device,
gpointer ssm_data, GError *error)
gpointer unused_data, GError *error)
{
g_return_if_fail (transfer->ssm);

View file

@ -91,7 +91,7 @@ void fpi_ssm_next_state_timeout_cb (FpDevice *dev,
void *data);
void fpi_ssm_usb_transfer_cb (FpiUsbTransfer *transfer,
FpDevice *device,
gpointer user_date,
gpointer unused_data,
GError *error);
void fpi_ssm_usb_transfer_with_weak_pointer_cb (FpiUsbTransfer *transfer,
FpDevice *device,