GNOME Bugzilla – Bug 695591
[PATCH] Fix typos
Last modified: 2013-03-11 09:25:54 UTC
I found a few typos in the GuPnP package and have fixed them with the attached patch.
Created attachment 238547 [details] [review] Patch to fix typos
diff --git a/libgupnp/gupnp-service-introspection.c b/libgupnp/gupnp-service-introspection index e3335f3..ebcc7a2 100644 --- a/libgupnp/gupnp-service-introspection.c +++ b/libgupnp/gupnp-service-introspection.c @@ -445,7 +445,7 @@ set_variable_type (GUPnPServiceStateVariableInfo *variable, } if (type == G_TYPE_INVALID) { - g_warning ("Unkown type '%s' in the SCPD", data_type); + g_warning ("Unknown type '%s' in the SCPD", data_type); return FALSE; } @@ -851,7 +851,7 @@ state_variable_search_func (GUPnPServiceStateVariableInfo *variable, /** * gupnp_service_introspection_get_state_variable: * @introspection: A #GUPnPServiceIntrospection - * @variable_name: The name of the variable to retreive + * @variable_name: The name of the variable to retrieve * * Returns the state variable by the name @variable_name in this service. * @@ -888,7 +888,7 @@ action_search_func (GUPnPServiceActionInfo *action, /** :...skipping... diff --git a/libgupnp/gupnp-service-introspection.c b/libgupnp/gupnp-service-introspection.c index e3335f3..ebcc7a2 100644 --- a/libgupnp/gupnp-service-introspection.c +++ b/libgupnp/gupnp-service-introspection.c @@ -445,7 +445,7 @@ set_variable_type (GUPnPServiceStateVariableInfo *variable, } if (type == G_TYPE_INVALID) { - g_warning ("Unkown type '%s' in the SCPD", data_type); + g_warning ("Unknown type '%s' in the SCPD", data_type); return FALSE; } @@ -851,7 +851,7 @@ state_variable_search_func (GUPnPServiceStateVariableInfo *variable, /** * gupnp_service_introspection_get_state_variable: * @introspection: A #GUPnPServiceIntrospection - * @variable_name: The name of the variable to retreive + * @variable_name: The name of the variable to retrieve * * Returns the state variable by the name @variable_name in this service. * @@ -888,7 +888,7 @@ action_search_func (GUPnPServiceActionInfo *action, /** * gupnp_service_introspection_get_action: * @introspection: A #GUPnPServiceIntrospection - * @action_name: The name of the action to retreive + * @action_name: The name of the action to retrieve * * Returns the action by the name @action_name in this service. * diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c index e50f1fa..2c4fd45 100644 --- a/libgupnp/gupnp-service.c +++ b/libgupnp/gupnp-service.c @@ -491,7 +491,7 @@ gupnp_service_action_get_value (GUPnPServiceAction *action, } if (!found) - g_warning ("Failed to retreive '%s' argument of '%s' action", :...skipping... diff --git a/libgupnp/gupnp-service-introspection.c b/libgupnp/gupnp-service-introspection.c index e3335f3..ebcc7a2 100644 --- a/libgupnp/gupnp-service-introspection.c +++ b/libgupnp/gupnp-service-introspection.c @@ -445,7 +445,7 @@ set_variable_type (GUPnPServiceStateVariableInfo *variable, } if (type == G_TYPE_INVALID) { - g_warning ("Unkown type '%s' in the SCPD", data_type); + g_warning ("Unknown type '%s' in the SCPD", data_type); return FALSE; } @@ -851,7 +851,7 @@ state_variable_search_func (GUPnPServiceStateVariableInfo *variable, /** * gupnp_service_introspection_get_state_variable: * @introspection: A #GUPnPServiceIntrospection - * @variable_name: The name of the variable to retreive + * @variable_name: The name of the variable to retrieve * * Returns the state variable by the name @variable_name in this service. * @@ -888,7 +888,7 @@ action_search_func (GUPnPServiceActionInfo *action, /** * gupnp_service_introspection_get_action: * @introspection: A #GUPnPServiceIntrospection - * @action_name: The name of the action to retreive + * @action_name: The name of the action to retrieve * * Returns the action by the name @action_name in this service. * diff --git a/libgupnp/gupnp-service.c b/libgupnp/gupnp-service.c index e50f1fa..2c4fd45 100644 --- a/libgupnp/gupnp-service.c +++ b/libgupnp/gupnp-service.c @@ -491,7 +491,7 @@ gupnp_service_action_get_value (GUPnPServiceAction *action, } if (!found) - g_warning ("Failed to retreive '%s' argument of '%s' action", + g_warning ("Failed to retrieve '%s' argument of '%s' action",
Thank you very much. Could you please regenerate the patch wit git format-patch? this way you'll keep the attribution. Thank you.
Created attachment 238550 [details] [review] patch with attribution Here you go
Thanks.