From 49f8fb470d535ee652b1fec7f442a0c6a2795b0c Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Sun, 13 Mar 2005 02:43:27 +0000 Subject: [PATCH] 2005-03-12 Mike Kestner * gtk/TreeViewColumn.custom : use PersistentData to hold the CellDataFuncs. svn path=/trunk/gtk-sharp/; revision=41744 --- ChangeLog | 5 +++++ gtk/TreeViewColumn.custom | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7234c6626..9755016b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-03-12 Mike Kestner + + * gtk/TreeViewColumn.custom : use PersistentData to hold the + CellDataFuncs. + 2005-03-12 Mike Kestner * glib/Makefile.am : add new file. diff --git a/gtk/TreeViewColumn.custom b/gtk/TreeViewColumn.custom index abc8c37c4..ede595e01 100644 --- a/gtk/TreeViewColumn.custom +++ b/gtk/TreeViewColumn.custom @@ -66,13 +66,11 @@ } } - Hashtable cell_data_funcs; - Hashtable CellDataFuncs { get { - if (cell_data_funcs == null) - cell_data_funcs = new Hashtable (); - return cell_data_funcs; + if (PersistentData ["gtksharp_cell_data_funcs"] == null) + PersistentData ["gtksharp_cell_data_funcs"] = new Hashtable (); + return PersistentData ["gtksharp_cell_data_funcs"] as Hashtable; } }