Silence more compiler warnings

This commit is contained in:
Matthias Clasen 2011-01-30 01:52:55 -05:00
parent 5caa76c5df
commit 6dc142a50a

View File

@ -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));