[gtk+] tests: Ensure the treeview is expanded
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tests: Ensure the treeview is expanded
- Date: Wed, 16 Nov 2011 03:42:15 +0000 (UTC)
commit 92a2284bb24a8285f100d6177051c0880647d922
Author: Benjamin Otte <otte redhat com>
Date: Sat Nov 12 04:55:32 2011 +0100
tests: Ensure the treeview is expanded
Otherwise the test code might ignore collapsed rows, which makes it go
rather fast.
tests/a11y/tree-performance.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/a11y/tree-performance.c b/tests/a11y/tree-performance.c
index 1361f07..d75599f 100644
--- a/tests/a11y/tree-performance.c
+++ b/tests/a11y/tree-performance.c
@@ -286,6 +286,8 @@ populate_tree (GtkBuilder *builder)
gtk_tree_store_append (store, &iter, &iter);
gtk_tree_store_set (store, &iter, 0, "Bla", 1, "Bla bla", 2, "Bla bla bla", 3, i % 2 == 0 ? TRUE : FALSE, 4, i % 100, 5, i, -1);
}
+
+ gtk_tree_view_expand_all (tv);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]