diff options
author | Timm Bäder <mail@baedert.org> | 2020-03-06 18:05:43 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-03-06 18:21:58 +0100 |
commit | d1cd6aacba55ea86d8b53638a18208cb19208f23 (patch) | |
tree | 43c2a4a7f5c021c586c18b2f6034067a218851d2 /tests/testlist.c | |
parent | 0e8850bf84cfa174ba85a6d8468c5f7056aeca46 (diff) | |
download | gtk+-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.c | 3 |
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; |