libfprint: Fix typos
This commit is contained in:
parent
fdd2d6abf8
commit
cc887c1a37
9 changed files with 14 additions and 14 deletions
|
@ -28,7 +28,7 @@
|
|||
* @title: Internal FpDevice
|
||||
* @short_description: Internal device routines
|
||||
*
|
||||
* The methods that are availabe for drivers to manipulate a device. See
|
||||
* The methods that are available for drivers to manipulate a device. See
|
||||
* #FpDeviceClass for more information. Also note that most of these are
|
||||
* not relevant for image based devices, see #FpImageDeviceClass in that
|
||||
* case.
|
||||
|
@ -339,7 +339,7 @@ fp_device_class_init (FpDeviceClass *klass)
|
|||
properties[PROP_OPEN] =
|
||||
g_param_spec_boolean ("open",
|
||||
"Opened",
|
||||
"Wether the device is open or not", FALSE,
|
||||
"Whether the device is open or not", FALSE,
|
||||
G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
|
||||
|
||||
/**
|
||||
|
|
|
@ -79,7 +79,7 @@ typedef enum {
|
|||
|
||||
/**
|
||||
* FpDeviceError:
|
||||
* @FP_DEVICE_ERROR_GENERAL: A general error occured.
|
||||
* @FP_DEVICE_ERROR_GENERAL: A general error occurred.
|
||||
* @FP_DEVICE_ERROR_NOT_SUPPORTED: The device does not support the requested
|
||||
* operation.
|
||||
* @FP_DEVICE_ERROR_NOT_OPEN: The device needs to be opened to start this
|
||||
|
@ -113,7 +113,7 @@ GQuark fp_device_error_quark (void);
|
|||
* FpEnrollProgress:
|
||||
* @device: a #FpDevice
|
||||
* @completed_stages: Number of completed stages
|
||||
* @print: (nullable) (transfer none): The last scaned print
|
||||
* @print: (nullable) (transfer none): The last scanned print
|
||||
* @user_data: (nullable) (transfer none): User provided data
|
||||
* @error: (nullable) (transfer none): #GError or %NULL
|
||||
*
|
||||
|
|
|
@ -100,7 +100,7 @@ fp_image_device_close (FpDevice *device)
|
|||
* 1. We are inactive
|
||||
* -> immediately close
|
||||
* 2. We are waiting for finger off
|
||||
* -> imediately deactivate
|
||||
* -> immediately deactivate
|
||||
* 3. We are deactivating
|
||||
* -> handled by deactivate_complete */
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ enum {
|
|||
PROP_IMAGE,
|
||||
|
||||
/* The following is metadata that is stored by default for each print.
|
||||
* Drivers may make use of these during enrollment (e.g. to additionaly store
|
||||
* Drivers may make use of these during enrollment (e.g. to additionally store
|
||||
* the metadata on the device). */
|
||||
PROP_FINGER,
|
||||
PROP_USERNAME,
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
* @title: Internal FpDevice
|
||||
* @short_description: Internal device routines
|
||||
*
|
||||
* The methods that are availabe for drivers to manipulate a device. See
|
||||
* The methods that are available for drivers to manipulate a device. See
|
||||
* #FpDeviceClass for more information. Also note that most of these are
|
||||
* not relevant for image based devices, see #FpImageDeviceClass in that
|
||||
* case.
|
||||
|
@ -100,7 +100,7 @@ fpi_device_error_new (FpDeviceError error)
|
|||
switch (error)
|
||||
{
|
||||
case FP_DEVICE_ERROR_GENERAL:
|
||||
msg = "An unspecified error occured!";
|
||||
msg = "An unspecified error occurred!";
|
||||
break;
|
||||
|
||||
case FP_DEVICE_ERROR_NOT_SUPPORTED:
|
||||
|
@ -138,7 +138,7 @@ fpi_device_error_new (FpDeviceError error)
|
|||
default:
|
||||
g_warning ("Unsupported error, returning general error instead!");
|
||||
error = FP_DEVICE_ERROR_GENERAL;
|
||||
msg = "An unspecified error occured!";
|
||||
msg = "An unspecified error occurred!";
|
||||
}
|
||||
|
||||
return g_error_new_literal (FP_DEVICE_ERROR, error, msg);
|
||||
|
|
|
@ -65,10 +65,10 @@ struct _FpIdEntry
|
|||
* @probe: Called immediately for all devices. Most drivers will not need to
|
||||
* implement this. Drivers should setup the device identifier from the probe
|
||||
* callback which will be used to verify the compatibility of stored
|
||||
* #FpPrint's. It is permissable to temporarily open the USB device if this
|
||||
* #FpPrint's. It is permissible to temporarily open the USB device if this
|
||||
* is required for the operation. If an error is returned, then the device
|
||||
* will be destroyed again immediately and never reported to the API user.
|
||||
* @open: Open the device for futher operations. Any of the normal actions are
|
||||
* @open: Open the device for further operations. Any of the normal actions are
|
||||
* guaranteed to only happen when the device is open (this includes delete).
|
||||
* @close: Close the device again
|
||||
* @enroll: Start an enroll operation
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef enum {
|
|||
|
||||
/**
|
||||
* FpiMatchResult:
|
||||
* @FPI_MATCH_ERROR: An error occured during matching
|
||||
* @FPI_MATCH_ERROR: An error occurred during matching
|
||||
* @FPI_MATCH_FAIL: The prints did not match
|
||||
* @FPI_MATCH_SUCCESS: The prints matched
|
||||
*/
|
||||
|
|
|
@ -366,7 +366,7 @@ transfer_finish_cb (GObject *source_object, GAsyncResult *res, gpointer user_dat
|
|||
*
|
||||
* Note that #FpiUsbTransfer will be stolen when this function is called.
|
||||
* So that all associated data will be free'ed automatically, after the
|
||||
* callback ran unless fpi_usb_transfer_ref() is explictly called.
|
||||
* callback ran unless fpi_usb_transfer_ref() is explicitly called.
|
||||
*/
|
||||
void
|
||||
fpi_usb_transfer_submit (FpiUsbTransfer *transfer,
|
||||
|
|
|
@ -61,7 +61,7 @@ typedef enum {
|
|||
* @length: The requested length of the transfer in bytes.
|
||||
* @actual_length: The actual length of the transfer
|
||||
* (see also fpi_usb_transfer_set_short_error())
|
||||
* @buffer: The transfered data.
|
||||
* @buffer: The transferred data.
|
||||
*
|
||||
* Helper for handling USB transfers.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue