diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2005-12-27 00:41:43 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-12-27 00:41:43 +0000 |
commit | 443f3aa6edcef67dffb3da839e9f2f6f1ac130d1 (patch) | |
tree | e708819684db1f241dd50c52096b31259902f66c /gtk/gtktextbtree.c | |
parent | 6779304cc8fd81253cd47c313100f3d1752bd912 (diff) | |
download | gtk+-443f3aa6edcef67dffb3da839e9f2f6f1ac130d1.tar.gz |
Forgotten file
Diffstat (limited to 'gtk/gtktextbtree.c')
-rw-r--r-- | gtk/gtktextbtree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c index f9b25b3f78..64a4e34b2d 100644 --- a/gtk/gtktextbtree.c +++ b/gtk/gtktextbtree.c @@ -5967,7 +5967,7 @@ gtk_text_btree_get_tag_info (GtkTextBTree *tree, { /* didn't find it, create. */ - info = g_new (GtkTextTagInfo, 1); + info = g_slice_new (GtkTextTagInfo); info->tag = tag; g_object_ref (tag); @@ -6020,7 +6020,7 @@ gtk_text_btree_remove_tag_info (GtkTextBTree *tree, g_object_unref (info->tag); - g_free (info); + g_slice_free (GtkTextTagInfo, info); return; } |