33 if(handler) handler(imgid);
static dt_image_imported_handler_t _imported_handler
void dt_image_notify_imported(const int32_t imgid)
Raise it. Internal to common/image.c.
void dt_image_notify_set_imported_handler(dt_image_imported_handler_t handler)
Install the handler, or NULL to remove it.
common/image.c states that an image entered the library; whoever is showing the collection decides wh...
G_BEGIN_DECLS typedef void(* dt_image_imported_handler_t)(const int32_t imgid)
Receives the id of one freshly imported image. Raised on the thread that did the import; a handler th...