From eb5e9c7b742f763334994e2acdd8f64e8b7a3def Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Sun, 21 Apr 2013 13:50:48 +0200 Subject: [PATCH] gtk: Remove TreeViewColumn.CellRenderers property (bxc#8593) The corresponding native function is gone in GTK 3, replaced by gtk_cell_layout_get_cells. --- gtk/TreeViewColumn.cs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gtk/TreeViewColumn.cs b/gtk/TreeViewColumn.cs index b4bc2e668..78370b752 100644 --- a/gtk/TreeViewColumn.cs +++ b/gtk/TreeViewColumn.cs @@ -54,22 +54,6 @@ namespace Gtk { _NewWithAttributes (title, cell, attrs); } - [DllImport ("libgtk-win32-3.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern IntPtr gtk_tree_view_column_get_cell_renderers (IntPtr raw); - - public CellRenderer[] CellRenderers { - get { - IntPtr raw_ret = gtk_tree_view_column_get_cell_renderers (Handle); - if (raw_ret == IntPtr.Zero) - return new CellRenderer [0]; - GLib.List list = new GLib.List (raw_ret); - CellRenderer[] result = new CellRenderer [list.Count]; - for (int i = 0; i < list.Count; i++) - result [i] = list [i] as CellRenderer; - return result; - } - } - public void SetCellDataFunc (CellRenderer cell_renderer, NodeCellDataFunc func) { if (func == null) {