mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
tetsuite/a11y: Pass common_cflags to build
This commit is contained in:
parent
dd370db62a
commit
14c3bc542d
@ -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))
|
||||
|
@ -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
|
||||
|
@ -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', ],
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user