Don't leak dash_list. (#346639, Christian Persch)

2006-07-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_enable_tree_lines): Don't
	leak dash_list.  (#346639, Christian Persch)
This commit is contained in:
Matthias Clasen 2006-07-05 16:29:46 +00:00 committed by Matthias Clasen
parent d7418f894f
commit 982a5768ec
3 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2006-07-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_enable_tree_lines): Don't
leak dash_list. (#346639, Christian Persch)
* gtk/gtkwindow.c (gtk_window_unmap, gtk_window_set_keep_above)
(gtk_window_set_keep_below): Fix some assignments involving
booleans. (#346467, Christian Persch)

View File

@ -1,5 +1,8 @@
2006-07-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_set_enable_tree_lines): Don't
leak dash_list. (#346639, Christian Persch)
* gtk/gtkwindow.c (gtk_window_unmap, gtk_window_set_keep_above)
(gtk_window_set_keep_below): Fix some assignments involving
booleans. (#346467, Christian Persch)

View File

@ -14672,6 +14672,7 @@ gtk_tree_view_set_enable_tree_lines (GtkTreeView *tree_view,
GDK_LINE_ON_OFF_DASH,
GDK_CAP_BUTT, GDK_JOIN_MITER);
gdk_gc_set_dashes (tree_view->priv->tree_line_gc, 0, dash_list, 2);
g_free (dash_list);
gtk_widget_queue_draw (GTK_WIDGET (tree_view));
}