diff options
author | Sébastien Wilmet <swilmet@gnome.org> | 2014-07-19 14:34:53 +0200 |
---|---|---|
committer | Sébastien Wilmet <swilmet@gnome.org> | 2014-07-20 12:26:01 +0200 |
commit | 9527205291d170c4d5c857daf63ef51e7981c32f (patch) | |
tree | 985332a43933221e553b91005a6ee904449b4f7b /gtk/gtktextlayout.c | |
parent | b441d3a736e0efc916172cfeea538d063b507611 (diff) | |
download | gtk+-9527205291d170c4d5c857daf63ef51e7981c32f.tar.gz |
GtkTextView: use GSlice
GSlice is better for allocating structs.
https://bugzilla.gnome.org/show_bug.cgi?id=733407
Diffstat (limited to 'gtk/gtktextlayout.c')
-rw-r--r-- | gtk/gtktextlayout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextlayout.c b/gtk/gtktextlayout.c index 99909288f0..7dbb62e13b 100644 --- a/gtk/gtktextlayout.c +++ b/gtk/gtktextlayout.c @@ -964,7 +964,7 @@ gtk_text_layout_real_free_line_data (GtkTextLayout *layout, { gtk_text_layout_invalidate_cache (layout, line, FALSE); - g_free (line_data); + g_slice_free (GtkTextLineData, line_data); } /** |