mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
fpi-ssm: Use same argument names of header file
So we can mute a Gtk-doc parser warning
This commit is contained in:
@@ -115,7 +115,7 @@ struct _FpiSsm
|
|||||||
* @dev: a #fp_dev fingerprint device
|
* @dev: a #fp_dev fingerprint device
|
||||||
* @handler: the callback function
|
* @handler: the callback function
|
||||||
* @nr_states: the number of states
|
* @nr_states: the number of states
|
||||||
* @name: the name of the state machine (for debug purposes)
|
* @machine_name: the name of the state machine (for debug purposes)
|
||||||
*
|
*
|
||||||
* Allocate a new ssm, with @nr_states states. The @handler callback
|
* Allocate a new ssm, with @nr_states states. The @handler callback
|
||||||
* will be called after each state transition.
|
* will be called after each state transition.
|
||||||
@@ -126,7 +126,7 @@ FpiSsm *
|
|||||||
fpi_ssm_new_full (FpDevice *dev,
|
fpi_ssm_new_full (FpDevice *dev,
|
||||||
FpiSsmHandlerCallback handler,
|
FpiSsmHandlerCallback handler,
|
||||||
int nr_states,
|
int nr_states,
|
||||||
const char *name)
|
const char *machine_name)
|
||||||
{
|
{
|
||||||
FpiSsm *machine;
|
FpiSsm *machine;
|
||||||
|
|
||||||
@@ -137,7 +137,7 @@ fpi_ssm_new_full (FpDevice *dev,
|
|||||||
machine->handler = handler;
|
machine->handler = handler;
|
||||||
machine->nr_states = nr_states;
|
machine->nr_states = nr_states;
|
||||||
machine->dev = dev;
|
machine->dev = dev;
|
||||||
machine->name = g_strdup (name);
|
machine->name = g_strdup (machine_name);
|
||||||
machine->completed = TRUE;
|
machine->completed = TRUE;
|
||||||
return machine;
|
return machine;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user