summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2020-07-20 10:38:09 +0300
committerYuri Chornoivan <yurchor@ukr.net>2020-07-20 10:38:09 +0300
commite7050ab6f4815af8f25bee67821270f1417119a7 (patch)
treea2c1f25361bd5409269860bf902be373775dc69b /tests
parent097ecd44687a0fcfb84472eea7cc2b99ae61a8a7 (diff)
downloadgnome-control-center-e7050ab6f4815af8f25bee67821270f1417119a7.tar.gz
Fix minor typos
Diffstat (limited to 'tests')
-rw-r--r--tests/network/nm-utils/nm-macros-internal.h8
-rw-r--r--tests/network/test-network-panel.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/network/nm-utils/nm-macros-internal.h b/tests/network/nm-utils/nm-macros-internal.h
index 2e3940fd7..f72ab2a37 100644
--- a/tests/network/nm-utils/nm-macros-internal.h
+++ b/tests/network/nm-utils/nm-macros-internal.h
@@ -756,9 +756,9 @@ nm_g_object_ref (gpointer obj)
static inline void
nm_g_object_unref (gpointer obj)
{
- /* g_object_unref() doesn't accept NULL. Usully, we workaround that
- * by using g_clear_object(), but sometimes that is not convinient
- * (for example as as destroy function for a hash table that can contain
+ /* g_object_unref() doesn't accept NULL. Usually, we workaround that
+ * by using g_clear_object(), but sometimes that is not convenient
+ * (for example as destroy function for a hash table that can contain
* NULL values). */
if (obj)
g_object_unref (obj);
@@ -1261,7 +1261,7 @@ nm_decode_version (guint version, guint *major, guint *minor, guint *micro)
/**
* The boolean type _Bool is C99 while we mostly stick to C89. However, _Bool is too
- * convinient to miss and is effectively available in gcc and clang. So, just use it.
+ * convenient to miss and is effectively available in gcc and clang. So, just use it.
*
* Usually, one would include "stdbool.h" to get the "bool" define which aliases
* _Bool. We provide this define here, because we want to make use of it anywhere.
diff --git a/tests/network/test-network-panel.c b/tests/network/test-network-panel.c
index eb884f512..e11db1f68 100644
--- a/tests/network/test-network-panel.c
+++ b/tests/network/test-network-panel.c
@@ -387,7 +387,7 @@ test_connection_multi_add_activate (NetworkPanelFixture *fixture,
GtkWidget *sw, *bt_header;
g_autoptr(GError) error = NULL;
- /* Add a single connection (just chainging up to other test). */
+ /* Add a single connection (just changing up to other test). */
test_connection_add (fixture, user_data);
/* Basically same as test_connection_add_activate but with different assertions. */