diff options
Diffstat (limited to 'mate-dictionary')
-rw-r--r-- | mate-dictionary/libgdict/gdict-database-chooser.c | 2 | ||||
-rw-r--r-- | mate-dictionary/libgdict/gdict-defbox.c | 2 | ||||
-rw-r--r-- | mate-dictionary/libgdict/gdict-source-chooser.c | 3 | ||||
-rw-r--r-- | mate-dictionary/libgdict/gdict-speller.c | 3 | ||||
-rw-r--r-- | mate-dictionary/libgdict/gdict-strategy-chooser.c | 2 |
5 files changed, 8 insertions, 4 deletions
diff --git a/mate-dictionary/libgdict/gdict-database-chooser.c b/mate-dictionary/libgdict/gdict-database-chooser.c index 8804dbc5..377efeb2 100644 --- a/mate-dictionary/libgdict/gdict-database-chooser.c +++ b/mate-dictionary/libgdict/gdict-database-chooser.c @@ -342,7 +342,7 @@ gdict_database_chooser_constructor (GType type, sw = gtk_scrolled_window_new (NULL, NULL); #if GTK_CHECK_VERSION (3, 0, 0) - gtk_widget_set_hexpand (sw, TRUE); + gtk_widget_set_vexpand (sw, TRUE); #endif gtk_widget_set_composite_name (sw, "gdict-database-chooser-scrolled-window"); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), diff --git a/mate-dictionary/libgdict/gdict-defbox.c b/mate-dictionary/libgdict/gdict-defbox.c index cc6b6ae2..6a1ea33e 100644 --- a/mate-dictionary/libgdict/gdict-defbox.c +++ b/mate-dictionary/libgdict/gdict-defbox.c @@ -1658,11 +1658,9 @@ gdict_defbox_constructor (GType type, gtk_widget_set_vexpand (sw, TRUE); #endif gtk_widget_set_composite_name (sw, "gdict-defbox-scrolled-window"); -#if !GTK_CHECK_VERSION (3, 0, 0) gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); -#endif gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw), GTK_SHADOW_IN); gtk_box_pack_start (GTK_BOX (defbox), sw, TRUE, TRUE, 0); 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, diff --git a/mate-dictionary/libgdict/gdict-speller.c b/mate-dictionary/libgdict/gdict-speller.c index 9b151994..1f42f223 100644 --- a/mate-dictionary/libgdict/gdict-speller.c +++ b/mate-dictionary/libgdict/gdict-speller.c @@ -317,6 +317,9 @@ gdict_speller_constructor (GType type, 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-speller-scrolled-window"); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), GTK_POLICY_AUTOMATIC, diff --git a/mate-dictionary/libgdict/gdict-strategy-chooser.c b/mate-dictionary/libgdict/gdict-strategy-chooser.c index e3190bc7..7f37598c 100644 --- a/mate-dictionary/libgdict/gdict-strategy-chooser.c +++ b/mate-dictionary/libgdict/gdict-strategy-chooser.c @@ -329,7 +329,7 @@ gdict_strategy_chooser_constructor (GType type, sw = gtk_scrolled_window_new (NULL, NULL); #if GTK_CHECK_VERSION (3, 0, 0) - gtk_widget_set_hexpand (sw, TRUE); + gtk_widget_set_vexpand (sw, TRUE); #endif gtk_widget_set_composite_name (sw, "gdict-strategy-chooser-scrolled-window"); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw), |