[gtk+/wip/matthiasc/kill-event-signals: 34/62] testgtk: Fix the scrolledwindow test
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/kill-event-signals: 34/62] testgtk: Fix the scrolledwindow test
- Date: Tue, 2 Jan 2018 04:54:39 +0000 (UTC)
commit 3571b701b75b4df0ec307c5aa9f0183d2cc34d99
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 1 10:24:12 2018 -0500
testgtk: Fix the scrolledwindow test
We need to expand here, otherwise things look wrong.
tests/testgtk.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 3e7222c..5ff0527 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -2783,6 +2783,8 @@ create_scrolled_windows (GtkWidget *widget)
gtk_window_set_title (GTK_WINDOW (window), "dialog");
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
+ gtk_widget_set_hexpand (scrolled_window, TRUE);
+ gtk_widget_set_vexpand (scrolled_window, TRUE);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]