GNOME Bugzilla – Bug 613833
Unnecessary queue_resize() for GtkImage
Last modified: 2015-01-31 04:33:43 UTC
When you set a pixbuf of the same size on a GtkImage, we queue a resize, not just a repaint. This causes the expense to increase considerably - e.g., we may have a round trip through the window manager or, for GtkStatusIcon, through the status tray. So, it would be good to optimize this out where possible. This is going to require some increased complexity - e..g, we can't just call gtk_image_clear() since that updates the requsition to 0x0 and queues a redraw.