summaryrefslogtreecommitdiff
path: root/fluid/widget_panel.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-11-15 16:09:17 +0100
committerMatthias Melcher <github@matthiasm.com>2023-11-15 16:09:17 +0100
commit4e1f2e75689a492746570f61ff9bbb1a826c2c0c (patch)
tree12f03f6b86ec0489e2cc855ef03fb2ee5a31dce5 /fluid/widget_panel.cxx
parent69189c8f070c9e3347dae6cc835e5f510eca989f (diff)
FLUID: Removes two warnings.
Diffstat (limited to 'fluid/widget_panel.cxx')
-rw-r--r--fluid/widget_panel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/widget_panel.cxx b/fluid/widget_panel.cxx
index be75f3098..24d3d91ae 100644
--- a/fluid/widget_panel.cxx
+++ b/fluid/widget_panel.cxx
@@ -129,8 +129,8 @@ static void cb_widget_grid_transient(Fl_Box* o, void* v) {
if (v==LOAD) {
Fl_Widget *child = ((Fl_Widget_Type*)current_widget)->o;
Fl_Grid_Proxy *g = ((Fl_Grid_Proxy*)((Fl_Widget_Type*)current_widget->parent)->o);
- Fl_Grid::Cell *cell = g->cell(child);
- Fl_Grid::Cell *tcell = g->transient_cell(child);
+ // Fl_Grid::Cell *cell = g->cell(child);
+ // Fl_Grid::Cell *tcell = g->transient_cell(child);
widget_grid_transient->hide();
widget_grid_unlinked->hide();
if (g->transient_cell(child)) {
@@ -573,6 +573,7 @@ Fl_Double_Window* make_widget_panel() {
o->labelsize(11);
o->callback((Fl_Callback*)propagate_load);
o->when(FL_WHEN_NEVER);
+ o->hide();
{ Fl_Group* o = new Fl_Group(95, 40, 309, 20, "Label:");
o->labelfont(1);
o->labelsize(11);
@@ -1446,7 +1447,6 @@ access the Widget pointer and \'v\' to access the user value.");
{ widget_tab_grid_child = new Fl_Group(10, 30, 400, 330, "Grid Child");
widget_tab_grid_child->labelsize(11);
widget_tab_grid_child->callback((Fl_Callback*)propagate_load);
- widget_tab_grid_child->hide();
{ Fl_Group* o = new Fl_Group(95, 60, 315, 20, "Location:");
o->box(FL_FLAT_BOX);
o->labelfont(1);