Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix broken debug build #17869

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/develop/develop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
6 changes: 1 addition & 5 deletions src/develop/develop.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading