]> Pileus Git - ~andy/gtk/commitdiff
tests: Remove unused argument from treeview-scrolling test
authorBenjamin Otte <otte@redhat.com>
Mon, 6 Feb 2012 20:21:09 +0000 (21:21 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 6 Feb 2012 20:53:35 +0000 (21:53 +0100)
gtk/tests/treeview-scrolling.c

index 0c123f9a030ea4446dd0b388afbd1cb63f453c55..9bbabbb6d0d78a07f1365e92f7265cb36164535d 100644 (file)
@@ -425,8 +425,7 @@ static void
 test_position (GtkTreeView *tree_view,
               GtkTreePath *path,
               gboolean     use_align,
-              gdouble      row_align,
-              gdouble      col_align)
+              gdouble      row_align)
 {
        gint pos;
        gchar *path_str;
@@ -500,7 +499,7 @@ scroll (ScrollFixture *fixture,
                gtk_main_iteration ();
 
        test_position (GTK_TREE_VIEW (fixture->tree_view), path,
-                      use_align, row_align, 0.0);
+                      use_align, row_align);
 }
 
 static void
@@ -569,7 +568,7 @@ scroll_after_realize (ScrollFixture *fixture,
                gtk_main_iteration ();
 
        test_position (GTK_TREE_VIEW (fixture->tree_view), path,
-                      use_align, row_align, 0.0);
+                      use_align, row_align);
 }
 
 static void
@@ -651,7 +650,7 @@ scroll_both_realize (ScrollFixture *fixture,
                gtk_main_iteration ();
 
        test_position (GTK_TREE_VIEW (fixture->tree_view), path,
-                      use_align, row_align, 0.0);
+                      use_align, row_align);
 }
 
 static void
@@ -821,7 +820,7 @@ scroll_new_row (ScrollFixture *fixture,
 
        /* Test position */
        test_position (GTK_TREE_VIEW (fixture->tree_view), scroll_path,
-                      FALSE, 0.0, 0.0);
+                      FALSE, 0.0);
        test_editable_position (fixture->tree_view, editable, scroll_path);
 
        gtk_tree_path_free (scroll_path);