Commit 59a4e70b authored by Michael Natterer's avatar Michael Natterer 😴

app: don't reserve a height for the statusbar label's icon

Reserve only a width. The height gets ignored by GTK+ 2.x and breaks
layout positioning in GTK+ 3.x which uses pango-cairo for all text
rendering.
parent dcdc0987
......@@ -606,7 +606,7 @@ gimp_statusbar_set_text (GimpStatusbar *statusbar,
rect.y = 0;
rect.width = PANGO_SCALE * (gdk_pixbuf_get_width (statusbar->icon) +
ICON_SPACING);
rect.height = PANGO_SCALE * gdk_pixbuf_get_height (statusbar->icon);
rect.height = 0;
attrs = pango_attr_list_new ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment