]> Pileus Git - ~andy/gtk/commit
cssimage: Only load image data when needed
authorBenjamin Otte <otte@redhat.com>
Sat, 2 Feb 2013 00:42:04 +0000 (01:42 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 2 Feb 2013 00:44:17 +0000 (01:44 +0100)
commite6b3cbe7d2c8ad23284bcf4a17f350043e3afb54
tree49ed28930fbe0a5efaffab78754422abe6f8461c
parentb2e1b1124f4b5a5fcf83474aa3eed8fda547c66a
cssimage: Only load image data when needed

Saves ~6MB of memory per application in the Adwaita I am using - at
least until the app starts using all the images in the theme, because
the code doesn't discard images yet once they were loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=692934
gtk/gtkcssimageurl.c