Commit 8d9144a0 authored by Matthias Clasen's avatar Matthias Clasen

Use the correct function to free boxed GdkColors

This fixes a segfault in gtk3-demo when running under accerciser.
parent d1fbb52e
......@@ -94,14 +94,14 @@ gchar *gail_text_cell_property_list[] = {
......@@ -111,19 +111,19 @@ gchar *gail_text_cell_property_list[] = {
/* Also need the sets */
......@@ -538,9 +538,9 @@ create_pango_layout(GtkCellRendererText *gtk_renderer,
pango_attr_list_unref (attr_list);
pango_font_description_free (font_desc);
g_free (foreground_gdk);
pango_attr_list_unref (attributes);
g_free (renderer_text);
gdk_color_free (foreground_gdk);
return layout;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment