[gtk+/wip/list: 8/8] tests: USE ALL THE WORDS!
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/list: 8/8] tests: USE ALL THE WORDS!
- Date: Fri, 11 May 2012 02:50:17 +0000 (UTC)
commit e12b785653a0d8ea1c4483ce99a49c61531ff788
Author: Benjamin Otte <otte redhat com>
Date: Fri May 11 04:44:54 2012 +0200
tests: USE ALL THE WORDS!
tests/testlistview.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/testlistview.c b/tests/testlistview.c
index dbedbd6..e205d3c 100644
--- a/tests/testlistview.c
+++ b/tests/testlistview.c
@@ -16,10 +16,11 @@ create_treemodel (void)
words = g_strsplit (all_the_words, "\n", -1);
g_free (all_the_words);
- for (i = 0; words[i] && i < 10; i++)
+ for (i = 0; words[i]; i++)
{
gtk_list_store_insert_with_values (store, NULL, -1, 0, words[i], -1);
}
+ g_print ("created GtkListStore with %u items\n", gtk_tree_model_iter_n_children (GTK_TREE_MODEL (store), NULL));
return GTK_TREE_MODEL (store);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]