tests: Remove unused argument from treeview-scrolling test
This commit is contained in:
@ -425,8 +425,7 @@ static void
|
|||||||
test_position (GtkTreeView *tree_view,
|
test_position (GtkTreeView *tree_view,
|
||||||
GtkTreePath *path,
|
GtkTreePath *path,
|
||||||
gboolean use_align,
|
gboolean use_align,
|
||||||
gdouble row_align,
|
gdouble row_align)
|
||||||
gdouble col_align)
|
|
||||||
{
|
{
|
||||||
gint pos;
|
gint pos;
|
||||||
gchar *path_str;
|
gchar *path_str;
|
||||||
@ -500,7 +499,7 @@ scroll (ScrollFixture *fixture,
|
|||||||
gtk_main_iteration ();
|
gtk_main_iteration ();
|
||||||
|
|
||||||
test_position (GTK_TREE_VIEW (fixture->tree_view), path,
|
test_position (GTK_TREE_VIEW (fixture->tree_view), path,
|
||||||
use_align, row_align, 0.0);
|
use_align, row_align);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -569,7 +568,7 @@ scroll_after_realize (ScrollFixture *fixture,
|
|||||||
gtk_main_iteration ();
|
gtk_main_iteration ();
|
||||||
|
|
||||||
test_position (GTK_TREE_VIEW (fixture->tree_view), path,
|
test_position (GTK_TREE_VIEW (fixture->tree_view), path,
|
||||||
use_align, row_align, 0.0);
|
use_align, row_align);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -651,7 +650,7 @@ scroll_both_realize (ScrollFixture *fixture,
|
|||||||
gtk_main_iteration ();
|
gtk_main_iteration ();
|
||||||
|
|
||||||
test_position (GTK_TREE_VIEW (fixture->tree_view), path,
|
test_position (GTK_TREE_VIEW (fixture->tree_view), path,
|
||||||
use_align, row_align, 0.0);
|
use_align, row_align);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -821,7 +820,7 @@ scroll_new_row (ScrollFixture *fixture,
|
|||||||
|
|
||||||
/* Test position */
|
/* Test position */
|
||||||
test_position (GTK_TREE_VIEW (fixture->tree_view), scroll_path,
|
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);
|
test_editable_position (fixture->tree_view, editable, scroll_path);
|
||||||
|
|
||||||
gtk_tree_path_free (scroll_path);
|
gtk_tree_path_free (scroll_path);
|
||||||
|
|||||||
Reference in New Issue
Block a user