Skip to content
  • Ell's avatar
    app: add gimp_drawable_steal_buffer() · b50be495
    Ell authored
    ... which transfers a buffer from one drawable to another in a safe
    manner, leaving the source drawable empty.
    
    There are already two ad-hoc instances where we steal a drawable's
    buffer through simple pointer assignment, however, this avoids
    performing potentially necessary cleanup and setup.  In particular,
    since commit d0ae244f this causes
    actual errors.  The next two commits replace those instances with
    calls to gimp_drawable_steal_buffer().
    b50be495