diff --git a/src/develop/develop.c b/src/develop/develop.c index 1825f0662966..25c702f5d206 100644 --- a/src/develop/develop.c +++ b/src/develop/develop.c @@ -2886,6 +2886,12 @@ float dt_dev_exposure_get_black(dt_develop_t *dev) return instance && instance->get_black && instance->module->enabled ? instance->get_black(instance->module) : 0.0f; } +void dt_dev_exposure_handle_event(GdkEvent *event, gboolean blackwhite) +{ + if(darktable.develop->proxy.exposure.handle_event) + darktable.develop->proxy.exposure.handle_event(event, blackwhite); +} + void dt_dev_modulegroups_set(dt_develop_t *dev, const uint32_t group) { diff --git a/src/develop/develop.h b/src/develop/develop.h index 9cad3cfbd39c..9218201f466d 100644 --- a/src/develop/develop.h +++ b/src/develop/develop.h @@ -461,11 +461,7 @@ float dt_dev_exposure_get_exposure(dt_develop_t *dev); /** get exposure black level */ float dt_dev_exposure_get_black(dt_develop_t *dev); -inline void dt_dev_exposure_handle_event(GdkEvent *event, gboolean blackwhite) -{ - if(darktable.develop->proxy.exposure.handle_event) - darktable.develop->proxy.exposure.handle_event(event, blackwhite); -} +void dt_dev_exposure_handle_event(GdkEvent *event, gboolean blackwhite); /* * modulegroups plugin hooks