diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-02-01 17:22:13 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-02-01 22:58:55 -0500 |
commit | ce869921ab88b344c9a417852837305d24fa155d (patch) | |
tree | 2f1b901318dabcd995ec14e2b9b46bbd6c2838f0 /tests/testkineticscrolling.c | |
parent | 7c1c7cb7282fd4226016dd7159ea6c93bed727b0 (diff) | |
download | gtk+-ce869921ab88b344c9a417852837305d24fa155d.tar.gz |
Don't use gtk_scrolled_window_add_with_viewport() in tests
https://bugzilla.gnome.org/show_bug.cgi?id=693015
Diffstat (limited to 'tests/testkineticscrolling.c')
-rw-r--r-- | tests/testkineticscrolling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testkineticscrolling.c b/tests/testkineticscrolling.c index 51cc5d05c1..dec82da878 100644 --- a/tests/testkineticscrolling.c +++ b/tests/testkineticscrolling.c @@ -69,7 +69,7 @@ kinetic_scrolling (void) swindow = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_kinetic_scrolling (GTK_SCROLLED_WINDOW (swindow), TRUE); gtk_scrolled_window_set_capture_button_press (GTK_SCROLLED_WINDOW (swindow), TRUE); - gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (swindow), button_grid); + gtk_container_add (GTK_CONTAINER (swindow), button_grid); gtk_widget_show (button_grid); gtk_grid_attach (GTK_GRID (grid), swindow, 0, 1, 1, 1); |