summaryrefslogtreecommitdiff
path: root/gtk/tests/treeview-scrolling.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-01-30 01:52:55 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-01-30 01:52:55 -0500
commit6dc142a50a930ce9759bb658df852b7e94b73a5c (patch)
tree15a07fb1e7e5cc7c8da81289f476542e44c3d3f5 /gtk/tests/treeview-scrolling.c
parent5caa76c5dfa45659d0e3d04f5f8245471e894d78 (diff)
downloadgtk+-6dc142a50a930ce9759bb658df852b7e94b73a5c.tar.gz
Silence more compiler warnings
Diffstat (limited to 'gtk/tests/treeview-scrolling.c')
-rw-r--r--gtk/tests/treeview-scrolling.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/tests/treeview-scrolling.c b/gtk/tests/treeview-scrolling.c
index 91ed786cb3..63bf429fdc 100644
--- a/gtk/tests/treeview-scrolling.c
+++ b/gtk/tests/treeview-scrolling.c
@@ -778,13 +778,10 @@ test_editable_position (GtkWidget *tree_view,
{
GtkAllocation allocation;
GdkRectangle rect;
- GtkAdjustment *vadjustment;
gtk_tree_view_get_background_area (GTK_TREE_VIEW (tree_view),
cursor_path, NULL, &rect);
- vadjustment = gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (tree_view));
-
/* There are all in bin_window coordinates */
gtk_widget_get_allocation (editable, &allocation);
g_assert (allocation.y == rect.y + ((rect.height - allocation.height) / 2));