From 59a4e70b86e43f8620ca7a3bea7fba935593acfa Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 29 Oct 2010 10:31:04 +0200 Subject: [PATCH] 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. --- app/display/gimpstatusbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/display/gimpstatusbar.c b/app/display/gimpstatusbar.c index 480b44040d..125f129476 100644 --- a/app/display/gimpstatusbar.c +++ b/app/display/gimpstatusbar.c @@ -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 (); -- GitLab