fpi-ssm: Make clearer that data is unused in fpi_ssm_usb_transfer_cb
This commit is contained in:
parent
587131a6bd
commit
9892eb1c03
2 changed files with 3 additions and 3 deletions
|
@ -394,7 +394,7 @@ fpi_ssm_next_state_timeout_cb (FpDevice *dev,
|
||||||
* fpi_ssm_usb_transfer_cb:
|
* fpi_ssm_usb_transfer_cb:
|
||||||
* @transfer: a #FpiUsbTransfer
|
* @transfer: a #FpiUsbTransfer
|
||||||
* @device: a #FpDevice
|
* @device: a #FpDevice
|
||||||
* @ssm_data: User data (unused)
|
* @unused_data: User data (unused)
|
||||||
* @error: The #GError or %NULL
|
* @error: The #GError or %NULL
|
||||||
*
|
*
|
||||||
* Can be used in as a #FpiUsbTransfer callback handler to automatically
|
* Can be used in as a #FpiUsbTransfer callback handler to automatically
|
||||||
|
@ -404,7 +404,7 @@ fpi_ssm_next_state_timeout_cb (FpDevice *dev,
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
fpi_ssm_usb_transfer_cb (FpiUsbTransfer *transfer, FpDevice *device,
|
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);
|
g_return_if_fail (transfer->ssm);
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,7 @@ void fpi_ssm_next_state_timeout_cb (FpDevice *dev,
|
||||||
void *data);
|
void *data);
|
||||||
void fpi_ssm_usb_transfer_cb (FpiUsbTransfer *transfer,
|
void fpi_ssm_usb_transfer_cb (FpiUsbTransfer *transfer,
|
||||||
FpDevice *device,
|
FpDevice *device,
|
||||||
gpointer user_date,
|
gpointer unused_data,
|
||||||
GError *error);
|
GError *error);
|
||||||
void fpi_ssm_usb_transfer_with_weak_pointer_cb (FpiUsbTransfer *transfer,
|
void fpi_ssm_usb_transfer_with_weak_pointer_cb (FpiUsbTransfer *transfer,
|
||||||
FpDevice *device,
|
FpDevice *device,
|
||||||
|
|
Loading…
Reference in a new issue