tetsuite/a11y: Pass common_cflags to build

This commit is contained in:
Timm Bäder 2020-05-18 12:34:51 +02:00
parent dd370db62a
commit 14c3bc542d
4 changed files with 6 additions and 2 deletions

View File

@ -108,7 +108,7 @@ parent_notify (AtkObject *obj, GParamSpec *pspec, SignalData *data)
data->parent = atk_object_get_parent (obj);
}
gboolean
static gboolean
do_create_child (STATE *state, gint i)
{
if (GTK_IS_ENTRY (state->widget))

View File

@ -28,6 +28,8 @@
typedef GtkButtonAccessible MyButtonAccessible;
typedef GtkButtonAccessibleClass MyButtonAccessibleClass;
GType my_button_accessible_get_type (void);
G_DEFINE_TYPE (MyButtonAccessible, my_button_accessible, GTK_TYPE_BUTTON_ACCESSIBLE)
static void
@ -43,6 +45,7 @@ my_button_accessible_class_init (MyButtonAccessibleClass *class)
typedef GtkButton MyButton;
typedef GtkButtonClass MyButtonClass;
GType my_button_get_type (void);
G_DEFINE_TYPE (MyButton, my_button, GTK_TYPE_BUTTON)
static void

View File

@ -78,6 +78,7 @@ foreach t: a11y_tests
test (t,
executable (t, '@0@.c'.format(t),
install: get_option('install-tests'),
c_args: common_cflags,
install_dir: testexecdir,
dependencies: libgtk_dep),
args: [ '--tap', '-k', ],

View File

@ -216,7 +216,7 @@ quit_loop (gpointer data)
}
static void
process_pending_idles ()
process_pending_idles (void)
{
GMainLoop *loop = g_main_loop_new (NULL, FALSE);
g_idle_add (quit_loop, loop);