forked from AuroraMiddleware/gtk
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:
parent
d7418f894f
commit
982a5768ec
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user