diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2020-07-28 15:49:14 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-07-28 16:49:13 +0100 |
commit | 2e8de6bd88131209ccd38e1f9dacdc3bb0b0f85b (patch) | |
tree | 9413fe158c033a4fe9622e9e3da6276e5b8ba4bb /gtk/gtktestatcontext.h | |
parent | 7f04faf30d000a9b1bad57b98b0876acb3226add (diff) | |
download | gtk+-2e8de6bd88131209ccd38e1f9dacdc3bb0b0f85b.tar.gz |
a11y: Fix the error message for the attribute test macros
We're missing a closing parenthesis.
Diffstat (limited to 'gtk/gtktestatcontext.h')
-rw-r--r-- | gtk/gtktestatcontext.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktestatcontext.h b/gtk/gtktestatcontext.h index 99bf57989f..430e7c405d 100644 --- a/gtk/gtktestatcontext.h +++ b/gtk/gtktestatcontext.h @@ -64,7 +64,7 @@ G_STMT_START { \ GtkAccessibleProperty __p = (property); \ char *__value = gtk_test_accessible_check_property (__a, __p, (value)); \ if (__value == NULL) ; else { \ - char *__msg = g_strdup_printf ("assertion failed: (" #accessible ".accessible-property(" #property ") == " #value ": value = '%s'", __value); \ + char *__msg = g_strdup_printf ("assertion failed: (" #accessible ".accessible-property(" #property ") == " #value "): value = '%s'", __value); \ g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, __msg); \ g_free (__msg); \ } \ @@ -86,7 +86,7 @@ G_STMT_START { \ GtkAccessibleRelation __r = (relation); \ char *__value = gtk_test_accessible_check_relation (__a, __r, (value)); \ if (__value == NULL); else { \ - char *__msg = g_strdup_printf ("assertion failed: (" #accessible ".accessible-relation(" #relation ") == " #value ": value = '%s'", __value); \ + char *__msg = g_strdup_printf ("assertion failed: (" #accessible ".accessible-relation(" #relation ") == " #value "): value = '%s'", __value); \ g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, __msg); \ g_free (__msg); \ } \ @@ -105,10 +105,10 @@ G_STMT_START { \ #define gtk_test_accessible_assert_state(accessible,state,value) \ G_STMT_START { \ GtkAccessible *__a = GTK_ACCESSIBLE (accessible); \ - GtkAccessibleRelation __s = (state); \ + GtkAccessibleState __s = (state); \ char *__value = gtk_test_accessible_check_state (__a, __s, (value)); \ if (__value == NULL); else { \ - char *__msg = g_strdup_printf ("assertion failed: (" #accessible ".accessible-state(" #state ") == " #value ": value = '%s'", __value); \ + char *__msg = g_strdup_printf ("assertion failed: (" #accessible ".accessible-state(" #state ") == " #value "): value = '%s'", __value); \ g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, __msg); \ g_free (__msg); \ } \ |