diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | docs/api/gusb-docs.sgml | 2 | ||||
-rw-r--r-- | gusb/gusb-context.c | 6 | ||||
-rw-r--r-- | gusb/gusb-device.c | 2 | ||||
-rw-r--r-- | gusb/gusb-self-test.c | 2 | ||||
-rw-r--r-- | gusb/gusb-util.c | 2 | ||||
-rw-r--r-- | gusb/gusb-version.c | 2 | ||||
-rw-r--r-- | meson.build | 2 |
8 files changed, 11 insertions, 11 deletions
@@ -26,7 +26,7 @@ Released: 2017-04-10 Bugfixes: - Correctly detect removed devices when rescanning (Richard Hughes) - - Fix a memory leak when using control tranfers (Richard Hughes) + - Fix a memory leak when using control transfers (Richard Hughes) - Fix gtk-doc build when builddir != srcdir (Ting-Wei Lan) - Fix symbol version table up to version 0.2.9 (Dominique Leuenberger) @@ -256,7 +256,7 @@ New Features: - GUsbDeviceList: Ref the device returned by g_usb_device_list_get_dev_by_bus_n_address() (Richard Hughes) - GUsbDevice: Make several methods cancellable (Debarshi Ray) - GUsbDevice: Move setting config / claiming of interface to their own methods (Hans de Goede) - - GUsbDevice: Set the GUsbContext for instal use in GUsbDevice (Richard Hughes) + - GUsbDevice: Set the GUsbContext for install use in GUsbDevice (Richard Hughes) - GUsbDevice: Turn into a wrapper around libusb_device (Hans de Goede) - GUsbSource: Add a GError parameter to g_usb_source_new() (Richard Hughes) - GUsbSource: g_usb_source_new won't return NULL (Debarshi Ray) diff --git a/docs/api/gusb-docs.sgml b/docs/api/gusb-docs.sgml index 9eb5e03..87c2758 100644 --- a/docs/api/gusb-docs.sgml +++ b/docs/api/gusb-docs.sgml @@ -57,7 +57,7 @@ <title>libgusb glib helpers</title> <partintro> <para> - This part documents helper funtions in libgusb. + This part documents helper functions in libgusb. </para> </partintro> <xi:include href="xml/gusb-version.xml"/> diff --git a/gusb/gusb-context.c b/gusb/gusb-context.c index 4882c43..09a74d5 100644 --- a/gusb/gusb-context.c +++ b/gusb/gusb-context.c @@ -469,7 +469,7 @@ g_usb_context_rescan_cb (gpointer user_data) * g_usb_context_get_main_context: * @context: a #GUsbContext * - * Gets the internal GMainContext to use for syncronous methods. + * Gets the internal GMainContext to use for synchronous methods. * By default the value is set to the value of g_main_context_default() * * Return value: (transfer none): the #GMainContext @@ -489,7 +489,7 @@ g_usb_context_get_main_context (GUsbContext *context) * g_usb_context_set_main_context: * @context: a #GUsbContext * - * Sets the internal GMainContext to use for syncronous methods. + * Sets the internal GMainContext to use for synchronous methods. * * Since: 0.2.5 **/ @@ -1052,7 +1052,7 @@ g_usb_context_replug_timeout_cb (gpointer user_data) * Waits for the device to be replugged. * It may come back with a different VID:PID. * - * Warning: This is syncronous and blocks until the device comes + * Warning: This is synchronous and blocks until the device comes * back or the timeout triggers. * * Return value: (transfer full): a new #GUsbDevice, or %NULL for invalid diff --git a/gusb/gusb-device.c b/gusb/gusb-device.c index d6477e6..a79bfa3 100644 --- a/gusb/gusb-device.c +++ b/gusb/gusb-device.c @@ -866,7 +866,7 @@ g_usb_device_set_interface_alt (GUsbDevice *device, gint interface, /** * g_usb_device_get_string_descriptor: - * @desc_index: the index for the string descriptor to retreive + * @desc_index: the index for the string descriptor to retrieve * @error: a #GError, or %NULL * * Get a string descriptor from the device. The returned string should be freed diff --git a/gusb/gusb-self-test.c b/gusb/gusb-self-test.c index 7556dd1..00d55dc 100644 --- a/gusb/gusb-self-test.c +++ b/gusb/gusb-self-test.c @@ -97,7 +97,7 @@ gusb_context_func (void) g_assert_cmpint (array->len, >, 0); old_number_of_devices = array->len; - /* Print a list (also excercising various bits of g_usb_device) */ + /* Print a list (also exercising various bits of g_usb_device) */ g_print ("\n"); for (i = 0; i < array->len; i++) { device = G_USB_DEVICE (g_ptr_array_index (array, i)); diff --git a/gusb/gusb-util.c b/gusb/gusb-util.c index fe50b89..5948350 100644 --- a/gusb/gusb-util.c +++ b/gusb/gusb-util.c @@ -24,7 +24,7 @@ #include "gusb-util.h" -/* libusb_strerror is not going upstream in the forseeable future because of +/* libusb_strerror is not going upstream in the foreseeable future because of i18n worries, provide our own implementation for now, later this can hopefully became just a wrapper of the upstream version */ const gchar * diff --git a/gusb/gusb-version.c b/gusb/gusb-version.c index c17ad2f..f12d82b 100644 --- a/gusb/gusb-version.c +++ b/gusb/gusb-version.c @@ -28,7 +28,7 @@ * * Gets the GUsb installed runtime version. * - * Returns: a version numer, e.g. "0.3.1" + * Returns: a version number, e.g. "0.3.1" * * Since: 0.3.1 **/ diff --git a/meson.build b/meson.build index c6f16c1..cc6ea64 100644 --- a/meson.build +++ b/meson.build @@ -20,7 +20,7 @@ lt_revision = '10' lt_age = '0' lt_version = '@0@.@1@.@2@'.format(lt_current, lt_age, lt_revision) -# get suported warning flags +# get supported warning flags test_args = [ '-fstack-protector-strong', '-Waggregate-return', |