summaryrefslogtreecommitdiff
path: root/gtk/gtkscrolledwindow.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-10-30 23:09:14 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-10-30 23:09:14 +0900
commit338001ae483c2edcfc3e7f3284010a0815bc75df (patch)
tree4c72cb1ac00808b817d3dd44b3d033cc4b688c79 /gtk/gtkscrolledwindow.c
parent73bac5af3b95b5b5c539a8f8700bfe2ae796dd25 (diff)
downloadgtk+-338001ae483c2edcfc3e7f3284010a0815bc75df.tar.gz
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.
Diffstat (limited to 'gtk/gtkscrolledwindow.c')
-rw-r--r--gtk/gtkscrolledwindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 87a388b173..4b00ad2e43 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");
}