[gtk/wip/baedert/for-master: 19/27] tetsuite/a11y: Pass common_cflags to build
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 19/27] tetsuite/a11y: Pass common_cflags to build
- Date: Tue, 19 May 2020 06:38:05 +0000 (UTC)
commit 14c3bc542d01b0ef2432dea7b708a9497e19b375
Author: Timm Bäder <mail baedert org>
Date: Mon May 18 12:34:51 2020 +0200
tetsuite/a11y: Pass common_cflags to build
testsuite/a11y/children.c | 2 +-
testsuite/a11y/derive.c | 3 +++
testsuite/a11y/meson.build | 1 +
testsuite/a11y/tree-relationships.c | 2 +-
4 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/testsuite/a11y/children.c b/testsuite/a11y/children.c
index 6a4fcc9a81..91d69f7b87 100644
--- a/testsuite/a11y/children.c
+++ b/testsuite/a11y/children.c
@@ -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))
diff --git a/testsuite/a11y/derive.c b/testsuite/a11y/derive.c
index a926074f4a..397097237f 100644
--- a/testsuite/a11y/derive.c
+++ b/testsuite/a11y/derive.c
@@ -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
diff --git a/testsuite/a11y/meson.build b/testsuite/a11y/meson.build
index ec3a8a3a2a..4bc3c339a0 100644
--- a/testsuite/a11y/meson.build
+++ b/testsuite/a11y/meson.build
@@ -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', ],
diff --git a/testsuite/a11y/tree-relationships.c b/testsuite/a11y/tree-relationships.c
index e23f7b5bd9..f24d70e643 100644
--- a/testsuite/a11y/tree-relationships.c
+++ b/testsuite/a11y/tree-relationships.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]