app: add gimp_async_add_callback_for_object()
... which is similar to gimp_async_add_callback(), taking an additional GObject argument. The object is kept alive for the duration of the callback, and the callback is automatically removed when the object is destroyed (if it hasn't been already called). This is analogous to g_signal_connect_object(), compared to g_signal_connect().
Showing with 142 additions and 34 deletions