Skip to content

Commit

Permalink
fix broken debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
zisoft authored and TurboGit committed Nov 20, 2024
1 parent 8db7a1c commit 4c27dd5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
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

0 comments on commit 4c27dd5

Please sign in to comment.