2005-03-12 Mike Kestner <mkestner@novell.com>

* gtk/TreeViewColumn.custom : use PersistentData to hold the 
	CellDataFuncs.

svn path=/trunk/gtk-sharp/; revision=41744
This commit is contained in:
Mike Kestner 2005-03-13 02:43:27 +00:00
parent 64073ff268
commit 49f8fb470d
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2005-03-12 Mike Kestner <mkestner@novell.com>
* gtk/TreeViewColumn.custom : use PersistentData to hold the
CellDataFuncs.
2005-03-12 Mike Kestner <mkestner@novell.com>
* glib/Makefile.am : add new file.

View File

@ -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;
}
}