diff options
author | Timm Bäder <mail@baedert.org> | 2017-07-04 19:00:00 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:15 -0400 |
commit | e19e3b72a3a6381e871b5e23c92e76619816d716 (patch) | |
tree | b50239ef2715b9b1428c661233f9c6740f9f2854 /gtk/gtksizerequest.c | |
parent | fb2bb87bb1362b0be032d1e56ceac8206dc612ea (diff) | |
download | gtk+-e19e3b72a3a6381e871b5e23c92e76619816d716.tar.gz |
widget: Always pass on baselines
Diffstat (limited to 'gtk/gtksizerequest.c')
-rw-r--r-- | gtk/gtksizerequest.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtksizerequest.c b/gtk/gtksizerequest.c index 0b1564edeb..9d991b10d1 100644 --- a/gtk/gtksizerequest.c +++ b/gtk/gtksizerequest.c @@ -299,12 +299,6 @@ gtk_widget_query_size_for_orientation (GtkWidget *widget, min_baseline = -1; nat_baseline = -1; } - else if (gtk_widget_get_valign (widget) != GTK_ALIGN_BASELINE) - { - /* Ignore requested baseline for non-aligned widgets */ - min_baseline = -1; - nat_baseline = -1; - } else if (min_baseline > reported_min_size || nat_baseline > reported_nat_size || min_baseline < 0 || |