From 4c27dd512889ff5d634028c075361e9302a3b080 Mon Sep 17 00:00:00 2001 From: Mario Zimmermann Date: Wed, 20 Nov 2024 19:03:39 +0100 Subject: [PATCH] fix broken debug build --- src/develop/develop.c | 6 ++++++ src/develop/develop.h | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) 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