[gtk+/treeview-refactor] Fixing typo in scrolled window

commit a3b4681f9f7c241ee2725783d64fc2937f44762a
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sat Oct 30 23:09:14 2010 +0900

    Fixing typo in scrolled window
    Seems with GtkScrollable interface we were setting the hadjustment as
    the vadjustment, thanks to Cosimo Cecchi who debugged this and finally
    found the typo.

 gtk/gtkscrolledwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 87a388b..4b00ad2 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -582,7 +582,7 @@ gtk_scrolled_window_set_hadjustment (GtkScrolledWindow *scrolled_window,
   child = gtk_bin_get_child (bin);
   if (GTK_IS_SCROLLABLE (child))
-    gtk_scrollable_set_vadjustment (GTK_SCROLLABLE (child), hadjustment);
+    gtk_scrollable_set_hadjustment (GTK_SCROLLABLE (child), hadjustment);
   g_object_notify (G_OBJECT (scrolled_window), "hadjustment");

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