[Xfce4-commits] <midori:master> Look for the history treeview at the second child position

Christian Dywan noreply at xfce.org
Wed Feb 10 19:54:04 CET 2010


Updating branch refs/heads/master
         to 4bf4e5cd63600f5c20fbf8645343ce37ae0f5ba9 (commit)
       from 6d722f6294d1d1274712f51d7c52b908330852ed (commit)

commit 4bf4e5cd63600f5c20fbf8645343ce37ae0f5ba9
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Feb 8 23:16:14 2010 +0100

    Look for the history treeview at the second child position

 tests/history.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/history.c b/tests/history.c
index edf4b25..dfc8348 100644
--- a/tests/history.c
+++ b/tests/history.c
@@ -82,7 +82,7 @@ history_panel_fill (void)
     g_assert (value == array);
     history = g_object_new (MIDORI_TYPE_HISTORY, "app", app, NULL);
     children = gtk_container_get_children (GTK_CONTAINER (history));
-    treeview = g_list_nth_data (children, 0);
+    treeview = g_list_nth_data (children, 1);
     g_list_free (children);
     g_assert (GTK_IS_TREE_VIEW (treeview));
     model = gtk_tree_view_get_model (GTK_TREE_VIEW (treeview));



More information about the Xfce4-commits mailing list