Skip to content
  • Havoc Pennington's avatar
    fix bug in here where prev pointer was set to the wrong thing · 5cd29932
    Havoc Pennington authored
    2001-01-30  Havoc Pennington  <hp@redhat.com>
    
    	* gtk/gtkliststore.c (gtk_list_store_insert_before): fix bug in
    	here where prev pointer was set to the wrong thing
    
    	* gtk/gtktreemodel.c (gtk_tree_path_is_ancestor): new function
    	(gtk_tree_path_is_descendant): new function
    
    	* gtk/gtkliststore.c (gtk_list_store_iter_n_children): return
    	cached length
    	(gtk_list_store_get_iter): don't modify iter if we can't get the
    	path.
    
    	* gtk/gtkliststore.h (struct _GtkListStore): cache the length
    
    	* gtk/gtktreednd.h: add virtual function row_drop_possible() to
    	GtkTreeDragDest
    
    	* gtk/gtktreestore.c (copy_node_data): fix varargs type error that
    	was causing segfault
    
    	* gtk/gtktreedatalist.c (_gtk_tree_data_list_node_copy): set next
    	pointer to NULL
    
    	* gtk/gtktreestore.c (gtk_tree_store_append): fix memleak
    
    	* gtk/gtkliststore.c (gtk_list_store_iter_next): don't modify iter
    	on returning FALSE
    	(gtk_list_store_iter_children): ditto
    	(gtk_list_store_iter...
    5cd29932