Skip to content
Open
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
15 changes: 0 additions & 15 deletions src/iop/temperature.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,21 +917,6 @@ static void _color_rgb_sliders(dt_iop_module_t *self)
// there are 3 ways to do colored sliders: naive (independent 0->1),
// smart(er) (dependent 0->1) and real (coeff)

if(FALSE)
{
//naive:
dt_bauhaus_slider_set_stop(g->scale_r, 0.0, 0.0, 0.0, 0.0);
dt_bauhaus_slider_set_stop(g->scale_r, 1.0, 1.0, 0.0, 0.0);

dt_bauhaus_slider_set_stop(g->scale_g, 0.0, 0.0, 0.0, 0.0);
dt_bauhaus_slider_set_stop(g->scale_g, 1.0, 0.0, 1.0, 0.0);

dt_bauhaus_slider_set_stop(g->scale_b, 0.0, 0.0, 0.0, 0.0);
dt_bauhaus_slider_set_stop(g->scale_b, 1.0, 0.0, 0.0, 1.0);

dt_bauhaus_slider_set_stop(g->scale_y, 0.0, 0.0, 0.0, 0.0);
dt_bauhaus_slider_set_stop(g->scale_y, 1.0, 0.0, 1.0, 0.0);
}
if(!g->blackbody_is_confusing)
{
//smart(er) than naive
Expand Down
2 changes: 0 additions & 2 deletions src/libs/ioporder.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ DT_MODULE(1)
typedef struct dt_lib_ioporder_t
{
int current_mode;
GList *last_custom_iop_order;
} dt_lib_ioporder_t;

const char *name(dt_lib_module_t *self)
Expand Down Expand Up @@ -135,7 +134,6 @@ void gui_init(dt_lib_module_t *self)

self->data = (void *)d;
d->current_mode = -1;
d->last_custom_iop_order = NULL;

DT_CONTROL_SIGNAL_HANDLE(DT_SIGNAL_DEVELOP_IMAGE_CHANGED, _image_loaded_callback);
DT_CONTROL_SIGNAL_HANDLE(DT_SIGNAL_DEVELOP_INITIALIZE, _image_loaded_callback);
Expand Down
Loading