13
0

Remove ambiguity of Gtk and Windows API

This commit is contained in:
Robin Gareus 2018-09-19 15:17:43 +02:00
parent 84930c0cf1
commit fb01698450

View File

@ -213,10 +213,10 @@ TransportMastersWidget::Row::build_request_options ()
MenuList& items (request_option_menu->items());
items.push_back (CheckMenuElem (_("Accept speed-changing commands (start/stop)")));
CheckMenuItem* i = dynamic_cast<CheckMenuItem *> (&items.back ());
Gtk::CheckMenuItem* i = dynamic_cast<Gtk::CheckMenuItem *> (&items.back ());
i->set_active (tm->request_mask() & TR_Speed);
items.push_back (CheckMenuElem (_("Accept locate commands")));
i = dynamic_cast<CheckMenuItem *> (&items.back ());
i = dynamic_cast<Gtk::CheckMenuItem *> (&items.back ());
i->set_active (tm->request_mask() & TR_Locate);
}