diff --git a/libfprint/fp-device.c b/libfprint/fp-device.c index fe36eae..cde720c 100644 --- a/libfprint/fp-device.c +++ b/libfprint/fp-device.c @@ -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); /** diff --git a/libfprint/fp-device.h b/libfprint/fp-device.h index b0b690c..5c435fd 100644 --- a/libfprint/fp-device.h +++ b/libfprint/fp-device.h @@ -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 * diff --git a/libfprint/fp-image-device.c b/libfprint/fp-image-device.c index c4de7bb..4e1b80e 100644 --- a/libfprint/fp-image-device.c +++ b/libfprint/fp-image-device.c @@ -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 */ diff --git a/libfprint/fp-print.c b/libfprint/fp-print.c index d02bf0a..6f6c7b0 100644 --- a/libfprint/fp-print.c +++ b/libfprint/fp-print.c @@ -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, diff --git a/libfprint/fpi-device.c b/libfprint/fpi-device.c index 88d752a..93be7ec 100644 --- a/libfprint/fpi-device.c +++ b/libfprint/fpi-device.c @@ -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); diff --git a/libfprint/fpi-device.h b/libfprint/fpi-device.h index 1f53eaf..94cdb35 100644 --- a/libfprint/fpi-device.h +++ b/libfprint/fpi-device.h @@ -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 diff --git a/libfprint/fpi-print.h b/libfprint/fpi-print.h index c969f12..6541528 100644 --- a/libfprint/fpi-print.h +++ b/libfprint/fpi-print.h @@ -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 */ diff --git a/libfprint/fpi-usb-transfer.c b/libfprint/fpi-usb-transfer.c index 99fe3d4..74b5b1c 100644 --- a/libfprint/fpi-usb-transfer.c +++ b/libfprint/fpi-usb-transfer.c @@ -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, diff --git a/libfprint/fpi-usb-transfer.h b/libfprint/fpi-usb-transfer.h index 09d22e8..40fd70c 100644 --- a/libfprint/fpi-usb-transfer.h +++ b/libfprint/fpi-usb-transfer.h @@ -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. */