summaryrefslogtreecommitdiff
path: root/tests/testlist4.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-03-06 18:05:43 +0100
committerTimm Bäder <mail@baedert.org>2020-03-06 18:21:58 +0100
commitd1cd6aacba55ea86d8b53638a18208cb19208f23 (patch)
tree43c2a4a7f5c021c586c18b2f6034067a218851d2 /tests/testlist4.c
parent0e8850bf84cfa174ba85a6d8468c5f7056aeca46 (diff)
downloadgtk+-d1cd6aacba55ea86d8b53638a18208cb19208f23.tar.gz
tests: Add common_cflags to build
And fix all the errors and warnings resulting from that See #2491
Diffstat (limited to 'tests/testlist4.c')
-rw-r--r--tests/testlist4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testlist4.c b/tests/testlist4.c
index 0349458e8b..96deaf3765 100644
--- a/tests/testlist4.c
+++ b/tests/testlist4.c
@@ -7,6 +7,7 @@ typedef struct
typedef GtkApplicationClass TestAppClass;
+static GType test_app_get_type (void);
G_DEFINE_TYPE (TestApp, test_app, GTK_TYPE_APPLICATION)
static GtkWidget *create_row (const gchar *label);
@@ -193,7 +194,7 @@ test_app_class_init (TestAppClass *class)
G_APPLICATION_CLASS (class)->activate = test_app_activate;
}
-TestApp *
+static TestApp *
test_app_new (void)
{
TestApp *test_app;