Fix compilation with gtkmm 3.22 (fixes #5969)
This commit is contained in:
parent
75f44d3f2b
commit
69f7f5b8a6
@ -106,9 +106,11 @@ HistogramPanel::HistogramPanel () :
|
|||||||
gfxGrid->add(*histogramArea);
|
gfxGrid->add(*histogramArea);
|
||||||
gfxGrid->attach_next_to(
|
gfxGrid->attach_next_to(
|
||||||
*histogramRGBAreaVert, *histogramArea,
|
*histogramRGBAreaVert, *histogramArea,
|
||||||
options.histogramPosition == 1 ? Gtk::POS_RIGHT : Gtk::POS_LEFT
|
options.histogramPosition == 1 ? Gtk::POS_RIGHT : Gtk::POS_LEFT,
|
||||||
|
1,
|
||||||
|
1
|
||||||
);
|
);
|
||||||
gfxGrid->attach_next_to(*histogramRGBAreaHori, *histogramArea, Gtk::POS_BOTTOM);
|
gfxGrid->attach_next_to(*histogramRGBAreaHori, *histogramArea, Gtk::POS_BOTTOM, 1, 1);
|
||||||
histogramRGBAreaHori->set_no_show_all();
|
histogramRGBAreaHori->set_no_show_all();
|
||||||
histogramRGBAreaVert->set_no_show_all();
|
histogramRGBAreaVert->set_no_show_all();
|
||||||
|
|
||||||
@ -652,7 +654,7 @@ void HistogramPanel::reorder (Gtk::PositionType align)
|
|||||||
buttonGrid->unreference();
|
buttonGrid->unreference();
|
||||||
|
|
||||||
gfxGrid->remove(*histogramRGBAreaVert);
|
gfxGrid->remove(*histogramRGBAreaVert);
|
||||||
gfxGrid->attach_next_to(*histogramRGBAreaVert, *histogramArea, Gtk::POS_LEFT);
|
gfxGrid->attach_next_to(*histogramRGBAreaVert, *histogramArea, Gtk::POS_LEFT, 1, 1);
|
||||||
|
|
||||||
persistentButtons->reference();
|
persistentButtons->reference();
|
||||||
removeIfThere(buttonGrid, persistentButtons, false);
|
removeIfThere(buttonGrid, persistentButtons, false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user