Skip to content
  • Ell's avatar
    app: don't allow setting NULL buffer to drawables; modify steal_buffer() · 91a947bb
    Ell authored
    Revert commit 24fcabc1, which
    allowed passing a NULL buffer to gimp_drawable_set_buffer[_full](),
    leaving the drawable without a buffer in a semi-functional state --
    this is too risky.
    
    Instead, have gimp_drawable_steal_buffer() assign an empty 1x1
    buffer to the stolen-from drawable, rather than leaving it without
    a buffer at all.
    91a947bb