[Spice-devel] [PATCH spice-gtk v2 9/9] docs: Fix typos

Pavel Grunt pgrunt at redhat.com
Thu Sep 24 09:33:55 PDT 2015


---
v2:
 - addresses more typos
---
 src/channel-inputs.c     | 4 ++--
 src/channel-main.c       | 4 ++--
 src/channel-port.c       | 4 ++--
 src/spice-grabsequence.c | 2 +-
 src/spice-session.c      | 2 +-
 src/usb-device-manager.c | 2 +-
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/channel-inputs.c b/src/channel-inputs.c
index 1a6457d..93cfd2e 100644
--- a/src/channel-inputs.c
+++ b/src/channel-inputs.c
@@ -125,10 +125,10 @@ static void spice_inputs_channel_class_init(SpiceInputsChannelClass *klass)
                           G_PARAM_STATIC_BLURB));
 
     /**
-     * SpiceInputsChannel::inputs-modifier:
+     * SpiceInputsChannel::inputs-modifiers:
      * @display: the #SpiceInputsChannel that emitted the signal
      *
-     * The #SpiceInputsChannel::inputs-modifier signal is emitted when
+     * The #SpiceInputsChannel::inputs-modifiers signal is emitted when
      * the guest keyboard locks are changed. You can read the current
      * state from #SpiceInputsChannel:key-modifiers property.
      **/
diff --git a/src/channel-main.c b/src/channel-main.c
index ca7d575..6e66401 100644
--- a/src/channel-main.c
+++ b/src/channel-main.c
@@ -726,7 +726,7 @@ static void spice_main_channel_class_init(SpiceMainChannelClass *klass)
      * @main: the #SpiceMainChannel that emitted the signal
      * @types: the VD_AGENT_CLIPBOARD request type
      *
-     * Request clipbard data from the client.
+     * Request clipboard data from the client.
      *
      * Return value: %TRUE if the request is successful
      *
@@ -749,7 +749,7 @@ static void spice_main_channel_class_init(SpiceMainChannelClass *klass)
      * @selection: a VD_AGENT_CLIPBOARD_SELECTION clipboard
      * @types: the VD_AGENT_CLIPBOARD request type
      *
-     * Request clipbard data from the client.
+     * Request clipboard data from the client.
      *
      * Return value: %TRUE if the request is successful
      *
diff --git a/src/channel-port.c b/src/channel-port.c
index f0b6d1e..222074c 100644
--- a/src/channel-port.c
+++ b/src/channel-port.c
@@ -151,7 +151,7 @@ static void spice_port_channel_class_init(SpicePortChannelClass *klass)
                               G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
 
     /**
-     * SpicePort::port-data:
+     * SpicePortChannel::port-data:
      * @channel: the channel that emitted the signal
      * @data: the data received
      * @size: number of bytes read
@@ -173,7 +173,7 @@ static void spice_port_channel_class_init(SpicePortChannelClass *klass)
 
 
     /**
-     * SpicePort::port-event:
+     * SpicePortChannel::port-event:
      * @channel: the channel that emitted the signal
      * @event: the event received
      * @size: number of bytes read
diff --git a/src/spice-grabsequence.c b/src/spice-grabsequence.c
index 96d936a..26bf96f 100644
--- a/src/spice-grabsequence.c
+++ b/src/spice-grabsequence.c
@@ -67,7 +67,7 @@ SpiceGrabSequence *spice_grab_sequence_new(guint nkeysyms, guint *keysyms)
 
 /**
  * spice_grab_sequence_new_from_string:
- * @str: a string of '+' seperated key names (ex: "Control_L+Alt_L")
+ * @str: a string of '+' separated key names (ex: "Control_L+Alt_L")
  *
  * Creates a new #SpiceGrabSequence from the string representation.
  *
diff --git a/src/spice-session.c b/src/spice-session.c
index 680b2e4..e1d9997 100644
--- a/src/spice-session.c
+++ b/src/spice-session.c
@@ -1901,7 +1901,7 @@ void spice_session_migrate_end(SpiceSession *self)
  *
  * Checks whether the @session is read-only.
  *
- * Returns: wether the @session is in read-only mode.
+ * Returns: whether the @session is in read-only mode.
  **/
 gboolean spice_session_get_read_only(SpiceSession *self)
 {
diff --git a/src/usb-device-manager.c b/src/usb-device-manager.c
index 80463c6..777fdf0 100644
--- a/src/usb-device-manager.c
+++ b/src/usb-device-manager.c
@@ -1305,7 +1305,7 @@ static SpiceUsbredirChannel *spice_usb_device_manager_get_channel_for_dev(
  * spice_usb_device_manager_get_devices_with_filter:
  * @manager: the #SpiceUsbDeviceManager manager
  * @filter: (allow-none): filter string for selecting which devices to return,
- *      see #SpiceUsbDeviceManager:auto-connect-filter for the f ilter
+ *      see #SpiceUsbDeviceManager:auto-connect-filter for the filter
  *      string format
  *
  * Finds devices associated with the @manager complying with the @filter
-- 
2.5.0



More information about the Spice-devel mailing list