summaryrefslogtreecommitdiff
path: root/tests/testlist.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/testlist.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/testlist.c')
-rw-r--r--tests/testlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testlist.c b/tests/testlist.c
index 9a432fdd87..fb0600ef90 100644
--- a/tests/testlist.c
+++ b/tests/testlist.c
@@ -30,6 +30,7 @@ const char *css =
"background-color: red;"
"}";
+static GType row_get_type (void);
G_DEFINE_TYPE (Row, row, GTK_TYPE_LIST_BOX_ROW)
static void
@@ -42,7 +43,7 @@ row_class_init (RowClass *class)
{
}
-GtkWidget *
+static GtkWidget *
row_new (const gchar* text, gint sort_id) {
Row *row;