[gtk+] Silence more compiler warnings



commit 6dc142a50a930ce9759bb658df852b7e94b73a5c
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 30 01:52:55 2011 -0500

    Silence more compiler warnings

 gtk/tests/treeview-scrolling.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/tests/treeview-scrolling.c b/gtk/tests/treeview-scrolling.c
index 91ed786..63bf429 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));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]