1 --- a/k3dsdk/ngui/main_document_window.cpp 2010-04-18 07:51:07.000000000 +0200
2 +++ b/k3dsdk/ngui/main_document_window.cpp 2011-10-14 12:38:40.365770196 +0200
4 Gtk::HBox import_box(false, 5);
5 Gtk::Label import_label(_("Choose import plugin:"));
7 - Gtk::ComboBox import_combo(model);
8 + Gtk::ComboBox import_combo(Glib::RefPtr<Gtk::TreeModel>::cast_dynamic(model));
9 import_combo.pack_start(columns.icon, false);
10 import_combo.pack_start(columns.label);
11 import_combo.set_active(0);
13 Gtk::HBox export_box(false, 5);
14 Gtk::Label export_label(_("Choose export plugin:"));
16 - Gtk::ComboBox export_combo(model);
17 + Gtk::ComboBox export_combo(Glib::RefPtr<Gtk::TreeModel>::cast_dynamic(model));
18 export_combo.pack_start(columns.icon, false);
19 export_combo.pack_start(columns.label);
20 export_combo.set_active(0);
21 --- a/k3dsdk/ngui/render.cpp 2010-04-18 07:51:07.000000000 +0200
22 +++ b/k3dsdk/ngui/render.cpp 2011-10-14 12:46:57.005771838 +0200
24 row[columns.separator] = false;
27 - Gtk::ComboBox combo(model);
28 + Gtk::ComboBox combo(Glib::RefPtr<Gtk::TreeModel>::cast_dynamic(model));
30 combo.pack_start(columns.icon, false);
33 row[columns.separator] = false;
36 - Gtk::ComboBox combo(model);
37 + Gtk::ComboBox combo(Glib::RefPtr<Gtk::TreeModel>::cast_dynamic(model));
39 combo.pack_start(columns.icon, false);