summaryrefslogtreecommitdiff
path: root/src/glade-http.c
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2020-03-21 19:32:17 +0200
committerYuri Chornoivan <yurchor@ukr.net>2020-03-22 08:56:29 +0200
commitb8b1b0fa7b072dadcc9a875bfc76847ee9a6fc35 (patch)
tree1a6c132a74584e5e9bff83c7254505dcf3319ef1 /src/glade-http.c
parentc3daab806605f473075dc1512cfcf71a872f9a8a (diff)
downloadglade-b8b1b0fa7b072dadcc9a875bfc76847ee9a6fc35.tar.gz
Fix minor typos
Diffstat (limited to 'src/glade-http.c')
-rw-r--r--src/glade-http.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glade-http.c b/src/glade-http.c
index ab3ae85c..849409d7 100644
--- a/src/glade-http.c
+++ b/src/glade-http.c
@@ -144,7 +144,7 @@ on_read_ready (GObject *source, GAsyncResult *res, gpointer data)
{
g_string_append_len (priv->response, priv->response_buffer, bytes_read);
- /* NOTE: We do not need to parse content-lenght because we do not support
+ /* NOTE: We do not need to parse content-length because we do not support
* multiples HTTP requests in the same connection.
*/
if (priv->cancellable)
@@ -179,7 +179,7 @@ on_write_ready (GObject *source, GAsyncResult *res, gpointer data)
if (error == NULL && priv->data->len != count)
error = g_error_new (G_IO_ERROR, G_IO_ERROR_FAILED,
- "Error sending data data to %s",
+ "Error sending data to %s",
priv->host);
if (error)
@@ -332,7 +332,7 @@ glade_http_class_init (GladeHTTPClass *klass)
properties[PROP_TLS] =
g_param_spec_boolean ("tls", "TLS",
- "Wheter to use tls encryption or not",
+ "Whether to use tls encryption or not",
FALSE, G_PARAM_READWRITE);
/* Install all properties */