updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / k3d / gtk_combobox.patch
blobb46af7c37634679a2bc46b54cf3ccd471c4f3d0a
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
3 @@ -1371,7 +1371,7 @@
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);
12 @@ -1461,7 +1461,7 @@
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
23 @@ -169,7 +169,7 @@
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);
32 @@ -295,7 +295,7 @@
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);