summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict/gdict-source-chooser.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-25 12:23:04 +0300
committermonsta <[email protected]>2016-01-27 13:55:54 +0300
commitc76cddf4fd8110248d4a388d29e3e4c58cecc0e4 (patch)
treec48bb9826ce7b21ade83924dac7e16499bce0213 /mate-dictionary/libgdict/gdict-source-chooser.c
parent8c6ccab6ec19507bf262892719f94e5c345f1ab6 (diff)
downloadmate-utils-c76cddf4fd8110248d4a388d29e3e4c58cecc0e4.tar.bz2
mate-utils-c76cddf4fd8110248d4a388d29e3e4c58cecc0e4.tar.xz
[GTK+3] fix vertical expand of widgets on side pane
Diffstat (limited to 'mate-dictionary/libgdict/gdict-source-chooser.c')
-rw-r--r--mate-dictionary/libgdict/gdict-source-chooser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mate-dictionary/libgdict/gdict-source-chooser.c b/mate-dictionary/libgdict/gdict-source-chooser.c
index 4990ae2f..6e9edd4f 100644
--- a/mate-dictionary/libgdict/gdict-source-chooser.c
+++ b/mate-dictionary/libgdict/gdict-source-chooser.c
@@ -257,6 +257,9 @@ gdict_source_chooser_constructor (GType gtype,
gtk_widget_push_composite_child ();
sw = gtk_scrolled_window_new (NULL, NULL);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_widget_set_vexpand (sw, TRUE);
+#endif
gtk_widget_set_composite_name (sw, "gdict-source-chooser-scrolled-window");
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
GTK_POLICY_AUTOMATIC,