X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fremote%2Ftrainpanel.cpp;h=e0f2658109b81334092e5567022766312e240d8b;hb=2d44923e135a119fde31a7a50e5fcd3e400e4f41;hp=7675b27f07e086c5ed6a258f2754598b9e4a2283;hpb=cafa5ec7024622a14fa94b4c992dafa7ab71c3f6;p=r2c2.git diff --git a/source/remote/trainpanel.cpp b/source/remote/trainpanel.cpp index 7675b27..e0f2658 100644 --- a/source/remote/trainpanel.cpp +++ b/source/remote/trainpanel.cpp @@ -54,7 +54,7 @@ TrainPanel::TrainPanel(Remote &r, R2C2::Client &c, R2C2::NetTrain &t): } Glib::RefPtr route_store = Gtk::ListStore::create(route_columns); - vbox->add(*manage(cmb_route = new Gtk::ComboBox(route_store))); + vbox->add(*manage(cmb_route = new Gtk::ComboBox(static_cast &>(route_store)))); cmb_route->pack_start(route_columns.name); route_store->append(); const list &routes = client.get_routes();