[gtk+] Make testwrapbox scrolled window scrollbars automatic.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Make testwrapbox scrolled window scrollbars automatic.
- Date: Mon, 13 Sep 2010 17:30:27 +0000 (UTC)
commit 96c3858b21d1e55ead98f2eeaecd11c1f7af1488
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Mon Sep 13 20:32:13 2010 +0900
Make testwrapbox scrolled window scrollbars automatic.
Did this in the hope to reproduce infinite recursion bugs
with height-for-width in scrolled windows (see complex bgo #611740
for reference for now).
tests/testwrapbox.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/testwrapbox.c b/tests/testwrapbox.c
index fb6228f..eb98abf 100644
--- a/tests/testwrapbox.c
+++ b/tests/testwrapbox.c
@@ -276,6 +276,9 @@ create_window (void)
gtk_box_pack_start (GTK_BOX (hbox), frame, TRUE, TRUE, 0);
swindow = gtk_scrolled_window_new (NULL, NULL);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
+ GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+
gtk_widget_show (swindow);
gtk_container_add (GTK_CONTAINER (frame), swindow);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]