From d0051a46f77c70288035fa3316699c584da78c79 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Sat, 5 Sep 2009 16:59:17 +0200 Subject: [PATCH] Fix compiler warnings --- gtk/gtktreemodelfilter.c | 1 - gtk/tests/filtermodel.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtktreemodelfilter.c b/gtk/gtktreemodelfilter.c index 2dd41ef7f2..1199598e39 100644 --- a/gtk/gtktreemodelfilter.c +++ b/gtk/gtktreemodelfilter.c @@ -1292,7 +1292,6 @@ gtk_tree_model_filter_row_changed (GtkTreeModel *c_model, /* make sure the new item has been pulled in */ if (!filter->priv->root) { - gint i; FilterLevel *root; gtk_tree_model_filter_build_level (filter, NULL, NULL, FALSE); diff --git a/gtk/tests/filtermodel.c b/gtk/tests/filtermodel.c index 3f5cfb07f7..52e4afc55b 100644 --- a/gtk/tests/filtermodel.c +++ b/gtk/tests/filtermodel.c @@ -737,6 +737,7 @@ set_path_visibility (FilterTest *fixture, -1); } +#if 0 static void insert_path_with_visibility (FilterTest *fixture, const gchar *path_string, @@ -757,6 +758,7 @@ insert_path_with_visibility (FilterTest *fixture, } gtk_tree_path_free (path); } +#endif /* * The actual tests.