GNOME Bugzilla – Bug 773291
icon-info: do not scale pixbuf to width or height of 0
Last modified: 2016-10-24 14:21:55 UTC
If the file thumbnail is really narrow or short, the scaled width or height can be 0, in which case gdk_pixbuf_scale_simple() returns NULL.
Created attachment 338125 [details] [review] icon-info: do not scale pixbuf to width or height of 0
Created attachment 338126 [details] test file This file is now an actor in two bugs. Triggering a file conflict with this file would cause warnings and no thumbnail would appear.
Review of attachment 338125 [details] [review]: Was kinda hard to follow this code path... I wonder if all of this interaction is really necesary :/ I can see some shared code repeated and obsoleted. But nothing to do with your patch, which is fine :) Thanks!
Attachment 338125 [details] pushed as 34a48ba - icon-info: do not scale pixbuf to width or height of 0