diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2006-09-18 21:06:49 +0800 |
---|---|---|
committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2006-09-18 21:06:49 +0800 |
commit | 7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7 (patch) | |
tree | ae2856e35bc84ed4736c3d98a709b94ebb8f0d38 /widgets/table/e-tree-memory.c | |
parent | 6a807f9488adba7c10573e6eaa28030e9c9cb222 (diff) | |
download | gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar.gz gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar.bz2 gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar.lz gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar.xz gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar.zst gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.zip |
** Fixes bug #352450
2006-08-23 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #352450
* misc/e-canvas-background.c:
* misc/e-cursors.c:
* misc/e-map.c:
* misc/e-reflow.c:
* misc/e-task-widget.c:
* misc/gal-combo-box.c:
* table/e-cell-text.c:
* table/e-cell-toggle.c:
* table/e-table-field-chooser-item.c:
* table/e-table-field-chooser.c:
* table/e-table-header-item.c:
* table/e-table-header-utils.c:
* table/e-table-item.c:
* table/e-table.c:
* table/e-tree-memory.c:
* table/e-tree-sorted.c:
* table/e-tree.c:
* table/e-text.c:
Replace deprecated GLib and GDK function calls.
svn path=/trunk/; revision=32783
Diffstat (limited to 'widgets/table/e-tree-memory.c')
-rw-r--r-- | widgets/table/e-tree-memory.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/widgets/table/e-tree-memory.c b/widgets/table/e-tree-memory.c index 2e87c8da86..7de48802fd 100644 --- a/widgets/table/e-tree-memory.c +++ b/widgets/table/e-tree-memory.c @@ -38,10 +38,7 @@ #include "e-tree-memory.h" -#define TREEPATH_CHUNK_AREA_SIZE (30 * sizeof (ETreeMemoryPath)) - static ETreeModelClass *parent_class; -static GMemChunk *node_chunk; enum { FILL_IN_CHILDREN, @@ -358,8 +355,6 @@ e_tree_memory_class_init (ETreeMemoryClass *klass) parent_class = g_type_class_peek_parent (klass); - node_chunk = g_mem_chunk_create (ETreeMemoryPath, TREEPATH_CHUNK_AREA_SIZE, G_ALLOC_AND_FREE); - signals [FILL_IN_CHILDREN] = g_signal_new ("fill_in_children", E_OBJECT_CLASS_TYPE (object_class), @@ -509,7 +504,7 @@ e_tree_memory_node_insert (ETreeMemory *tree_model, if (!tree_model->priv->frozen) e_tree_model_pre_change(E_TREE_MODEL(tree_model)); - new_path = g_chunk_new0 (ETreeMemoryPath, node_chunk); + new_path = g_slice_new0 (ETreeMemoryPath); new_path->node_data = node_data; new_path->children_computed = FALSE; @@ -584,7 +579,7 @@ child_free(ETreeMemory *etree, ETreeMemoryPath *node) etree->priv->destroy_func (node->node_data, etree->priv->destroy_user_data); } - g_chunk_free(node, node_chunk); + g_slice_free (ETreeMemoryPath, node); } /** |