• Murray Cumming's avatar
    ImageGlom: Use std::unique_ptr<> instead of naked new. · e542cfff
    Murray Cumming authored
    I am not very happy with passing the raw pointer to gtkmm's
    attach_to_widget(), but that seems to be the normal use of
    unique_ptr<>::operator*() and unique_ptr<>::get(),
    as long as we don't expect the receiving API to take any
    ownership.
    e542cfff
imageglom.cc 25.8 KB