aboutsummaryrefslogtreecommitdiff
path: root/graphics/k3d/k3d_gtkmm224.patch
blob: e62ef08a6dee2a708eeec7d50c5f9b97b5b43b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- k3d-source-0.8.0.2/k3dsdk/ngui/main_document_window.cpp	2010-07-02 23:27:46.000000000 -0300
+++ k3d-source-0.8.0.2_patched/k3dsdk/ngui/main_document_window.cpp	2011-05-01 22:24:14.000000000 -0300
@@ -1371,7 +1371,7 @@
 			Gtk::HBox import_box(false, 5);
 			Gtk::Label import_label(_("Choose import plugin:"));
 
-			Gtk::ComboBox import_combo(model);
+			Gtk::ComboBox import_combo((Glib::RefPtr<Gtk::TreeModel> &) model);
 			import_combo.pack_start(columns.icon, false);
 			import_combo.pack_start(columns.label);
 			import_combo.set_active(0);
@@ -1461,7 +1461,7 @@
 			Gtk::HBox export_box(false, 5);
 			Gtk::Label export_label(_("Choose export plugin:"));
 
-			Gtk::ComboBox export_combo(model);
+			Gtk::ComboBox export_combo((Glib::RefPtr<Gtk::TreeModel> &) model);
 			export_combo.pack_start(columns.icon, false);
 			export_combo.pack_start(columns.label);
 			export_combo.set_active(0);
--- k3d-source-0.8.0.2/k3dsdk/ngui/render.cpp	2010-07-02 23:27:46.000000000 -0300
+++ k3d-source-0.8.0.2_patched/k3dsdk/ngui/render.cpp	2011-05-01 22:41:08.000000000 -0300
@@ -169,7 +169,7 @@
 		row[columns.separator] = false;
 	}
 
-	Gtk::ComboBox combo(model);
+	Gtk::ComboBox combo((Glib::RefPtr<Gtk::TreeModel> &) model);
 
 	combo.pack_start(columns.icon, false);
 
@@ -295,7 +295,7 @@
 		row[columns.separator] = false;
 	}
 
-	Gtk::ComboBox combo(model);
+	Gtk::ComboBox combo((Glib::RefPtr<Gtk::TreeModel> &) model);
 
 	combo.pack_start(columns.icon, false);