diff options
author | raveit65 <[email protected]> | 2016-08-07 13:03:17 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-09-01 08:21:55 +0200 |
commit | 5b0b7091d7f3338df67064ea057a9ce49e47608a (patch) | |
tree | bb90a63dba3f14b89fd17c74b5e8b6d2b143b32c /baobab/Makefile.am | |
parent | bc2bda8c7e60627677c701aa20ef5998e32ce42c (diff) | |
download | mate-utils-5b0b7091d7f3338df67064ea057a9ce49e47608a.tar.bz2 mate-utils-5b0b7091d7f3338df67064ea057a9ce49e47608a.tar.xz |
GTK+-3 screenshot-dialog: Avoid resizing the preview too much
Relying on configure events to resize the preview makes us do more
work than necessary and, in particular, gtk+ sometimes sends us phony
configure events sized 1x1 which make us hit a pretty CPU intensive
resize operation in gdk-pixbuf.
Instead, we can avoid all that by creating the preview pixbuf lazily
on the draw handler using the actual allocated widget size.
https://bugzilla.gnome.org/show_bug.cgi?id=768087
taken from:
https://git.gnome.org/browse/gnome-screenshot/commit/?id=c21823b
Diffstat (limited to 'baobab/Makefile.am')
0 files changed, 0 insertions, 0 deletions