]> Pileus Git - ~andy/gtk/commitdiff
Forgotten file
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 27 Dec 2005 00:41:43 +0000 (00:41 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 27 Dec 2005 00:41:43 +0000 (00:41 +0000)
gtk/gtktextbtree.c

index f9b25b3f789015a94457f740ed69ef1c4840cf87..64a4e34b2d2e3ec6ca40b6ec44062421d782560b 100644 (file)
@@ -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;
         }