• Havoc Pennington's avatar
    handle case where sibling == iter (gtk_tree_store_insert_after): handle · 740ee8ef
    Havoc Pennington authored
    2001-01-10  Havoc Pennington  <hp@redhat.com>
    
    	* gtk/gtktreestore.c (gtk_tree_store_insert_before): handle case
    	where sibling == iter
    	(gtk_tree_store_insert_after): handle sibling == iter
    	(gtk_tree_store_prepend): remove stamp checks
    	(gtk_tree_store_insert_before): ditto
    	(gtk_tree_store_append): ditto
    	(gtk_tree_store_get_path): ditto
    	(gtk_tree_store_get_value): ditto
    	(gtk_tree_store_iter_has_child): ditto
    	(gtk_tree_store_iter_n_children): ditto
    	(gtk_tree_store_iter_nth_child): ditto
    	(gtk_tree_store_insert_after): ditto
    	(gtk_tree_store_is_ancestor): ditto
    	(gtk_tree_store_iter_depth): ditto
    	(gtk_tree_store_insert_before): assert that sibling's parent is
    	the same as the passed-in parent
    	(gtk_tree_store_insert_after): assert that sibling's parent is
    	the same as the passed-in parent
    
    
    	* gtk/gtktreemodel.c (gtk_tree_model_get_first): new convenience
    	function to get the first iterator in a model
    
    	* gtk/gtktreestore.c (gtk_tree_store_get_root_iter): remove,
    	conventionally the "root" in this sense is just NULL afaict.
    
    	* gtk/gtkliststore.c (gtk_list_store_insert_before): handle case
    	where sibling == iter
    	(gtk_list_store_insert_after): handle case where sibling == iter
    
    	* tests/testtreeview.c (run_automated_tests): fairly lame basic
    	automated tests for ListStore, TreeStore
    
            * gtk/gtkliststore.c (gtk_list_store_remove): update tail pointer
    	(gtk_list_store_insert): update tail pointer, and fix it to work
    	(gtk_list_store_insert_before): update tail pointer, and fix it to work
    	(gtk_list_store_append): use tail to be faster
    	(gtk_list_store_prepend): fix it, update tail pointer
    	(gtk_list_store_insert_after): fix it, update tail pointer
    
    	* gtk/gtkliststore.h (struct _GtkListStore): add tail pointer for
    	the list
    740ee8ef
Name
Last commit
Last update
..
stock-icons Loading commit data...
.cvsignore Loading commit data...
3DRings.xpm Loading commit data...
FilesQueue.xpm Loading commit data...
Makefile.am Loading commit data...
Modeller.xpm Loading commit data...
check-n.xpm Loading commit data...
check-y.xpm Loading commit data...
circles.xbm Loading commit data...
fnmatch.c Loading commit data...
fnmatch.h Loading commit data...
gdk-pixbuf-loader.c Loading commit data...
gdk-pixbuf-loader.h Loading commit data...
genmarshal.pl Loading commit data...
gtk-boxed.defs Loading commit data...
gtk-win32.rc.in Loading commit data...
gtk.def Loading commit data...
gtk.h Loading commit data...
gtkaccelgroup.c Loading commit data...
gtkaccelgroup.h Loading commit data...
gtkaccellabel.c Loading commit data...
gtkaccellabel.h Loading commit data...
gtkadjustment.c Loading commit data...
gtkadjustment.h Loading commit data...
gtkalignment.c Loading commit data...
gtkalignment.h Loading commit data...
gtkarg.c Loading commit data...
gtkarg.h Loading commit data...
gtkargcollector.c Loading commit data...
gtkarrow.c Loading commit data...
gtkarrow.h Loading commit data...
gtkaspectframe.c Loading commit data...
gtkaspectframe.h Loading commit data...
gtkbbox.c Loading commit data...
gtkbbox.h Loading commit data...
gtkbin.c Loading commit data...
gtkbin.h Loading commit data...
gtkbindings.c Loading commit data...
gtkbindings.h Loading commit data...
gtkbox.c Loading commit data...
gtkbox.h Loading commit data...
gtkbutton.c Loading commit data...
gtkbutton.h Loading commit data...
gtkcalendar.c Loading commit data...
gtkcalendar.h Loading commit data...
gtkcellrenderer.c Loading commit data...
gtkcellrenderer.h Loading commit data...
gtkcellrendererpixbuf.c Loading commit data...
gtkcellrendererpixbuf.h Loading commit data...
gtkcellrenderertext.c Loading commit data...
gtkcellrenderertext.h Loading commit data...
gtkcellrenderertextpixbuf.c Loading commit data...
gtkcellrenderertextpixbuf.h Loading commit data...
gtkcellrenderertoggle.c Loading commit data...
gtkcellrenderertoggle.h Loading commit data...
gtkcheckbutton.c Loading commit data...
gtkcheckbutton.h Loading commit data...
gtkcheckmenuitem.c Loading commit data...
gtkcheckmenuitem.h Loading commit data...
gtkclipboard.c Loading commit data...
gtkclipboard.h Loading commit data...
gtkclist.c Loading commit data...
gtkclist.h Loading commit data...
gtkcolorsel.c Loading commit data...
gtkcolorsel.h Loading commit data...
gtkcolorseldialog.c Loading commit data...
gtkcolorseldialog.h Loading commit data...
gtkcombo.c Loading commit data...
gtkcombo.h Loading commit data...
gtkcompat.h.in Loading commit data...
gtkcontainer.c Loading commit data...
gtkcontainer.h Loading commit data...
gtkctree.c Loading commit data...
gtkctree.h Loading commit data...
gtkcurve.c Loading commit data...
gtkcurve.h Loading commit data...
gtkdata.c Loading commit data...
gtkdata.h Loading commit data...
gtkdebug.h Loading commit data...
gtkdialog.c Loading commit data...
gtkdialog.h Loading commit data...
gtkdnd.c Loading commit data...
gtkdnd.h Loading commit data...
gtkdrawingarea.c Loading commit data...
gtkdrawingarea.h Loading commit data...
gtkeditable.c Loading commit data...
gtkeditable.h Loading commit data...
gtkentry.c Loading commit data...
gtkentry.h Loading commit data...
gtkenums.h Loading commit data...
gtkeventbox.c Loading commit data...
gtkeventbox.h Loading commit data...
gtkfilesel.c Loading commit data...
gtkfilesel.h Loading commit data...
gtkfixed.c Loading commit data...
gtkfixed.h Loading commit data...
gtkfontsel.c Loading commit data...
gtkfontsel.h Loading commit data...
gtkframe.c Loading commit data...
gtkframe.h Loading commit data...
gtkgamma.c Loading commit data...
gtkgamma.h Loading commit data...
gtkgc.c Loading commit data...
gtkgc.h Loading commit data...
gtkhandlebox.c Loading commit data...
gtkhandlebox.h Loading commit data...
gtkhbbox.c Loading commit data...
gtkhbbox.h Loading commit data...
gtkhbox.c Loading commit data...
gtkhbox.h Loading commit data...
gtkhpaned.c Loading commit data...
gtkhpaned.h Loading commit data...
gtkhruler.c Loading commit data...
gtkhruler.h Loading commit data...
gtkhscale.c Loading commit data...
gtkhscale.h Loading commit data...
gtkhscrollbar.c Loading commit data...
gtkhscrollbar.h Loading commit data...
gtkhseparator.c Loading commit data...
gtkhseparator.h Loading commit data...
gtkhsv.c Loading commit data...
gtkhsv.h Loading commit data...
gtkiconfactory.c Loading commit data...
gtkiconfactory.h Loading commit data...
gtkimage.c Loading commit data...
gtkimage.h Loading commit data...
gtkimcontext.c Loading commit data...
gtkimcontext.h Loading commit data...
gtkimcontextsimple.c Loading commit data...
gtkimcontextsimple.h Loading commit data...
gtkimmodule.c Loading commit data...
gtkimmodule.h Loading commit data...
gtkimmulticontext.c Loading commit data...
gtkimmulticontext.h Loading commit data...
gtkinputdialog.c Loading commit data...
gtkinputdialog.h Loading commit data...
gtkintl.h Loading commit data...
gtkinvisible.c Loading commit data...
gtkinvisible.h Loading commit data...
gtkitem.c Loading commit data...
gtkitem.h Loading commit data...
gtkitemfactory.c Loading commit data...
gtkitemfactory.h Loading commit data...
gtklabel.c Loading commit data...
gtklabel.h Loading commit data...
gtklayout.c Loading commit data...
gtklayout.h Loading commit data...
gtklist.c Loading commit data...
gtklist.h Loading commit data...
gtklistitem.c Loading commit data...
gtklistitem.h Loading commit data...
gtkliststore.c Loading commit data...
gtkliststore.h Loading commit data...
gtkmain.c Loading commit data...
gtkmain.h Loading commit data...
gtkmarshal.list Loading commit data...
gtkmarshalers.list Loading commit data...
gtkmenu.c Loading commit data...
gtkmenu.h Loading commit data...
gtkmenubar.c Loading commit data...
gtkmenubar.h Loading commit data...
gtkmenufactory.c Loading commit data...
gtkmenufactory.h Loading commit data...
gtkmenuitem.c Loading commit data...
gtkmenuitem.h Loading commit data...
gtkmenushell.c Loading commit data...
gtkmenushell.h Loading commit data...
gtkmessagedialog.c Loading commit data...
gtkmessagedialog.h Loading commit data...
gtkmisc.c Loading commit data...
gtkmisc.h Loading commit data...
gtknotebook.c Loading commit data...
gtknotebook.h Loading commit data...
gtkobject.c Loading commit data...
gtkobject.h Loading commit data...
gtkoldeditable.c Loading commit data...
gtkoldeditable.h Loading commit data...
gtkoptionmenu.c Loading commit data...
gtkoptionmenu.h Loading commit data...
gtkpacker.c Loading commit data...
gtkpacker.h Loading commit data...
gtkpaned.c Loading commit data...
gtkpaned.h Loading commit data...
gtkpixmap.c Loading commit data...
gtkpixmap.h Loading commit data...
gtkplug.c Loading commit data...
gtkplug.h Loading commit data...
gtkpreview.c Loading commit data...
gtkpreview.h Loading commit data...
gtkprivate.h Loading commit data...
gtkprogress.c Loading commit data...
gtkprogress.h Loading commit data...
gtkprogressbar.c Loading commit data...
gtkprogressbar.h Loading commit data...
gtkradiobutton.c Loading commit data...
gtkradiobutton.h Loading commit data...
gtkradiomenuitem.c Loading commit data...
gtkradiomenuitem.h Loading commit data...
gtkrange.c Loading commit data...
gtkrange.h Loading commit data...
gtkrbtree.c Loading commit data...
gtkrbtree.h Loading commit data...
gtkrc.c Loading commit data...
gtkrc.h Loading commit data...
gtkruler.c Loading commit data...
gtkruler.h Loading commit data...
gtkscale.c Loading commit data...
gtkscale.h Loading commit data...
gtkscrollbar.c Loading commit data...
gtkscrollbar.h Loading commit data...
gtkscrolledwindow.c Loading commit data...
gtkscrolledwindow.h Loading commit data...
gtkselection.c Loading commit data...
gtkselection.h Loading commit data...
gtkseparator.c Loading commit data...
gtkseparator.h Loading commit data...
gtksignal.c Loading commit data...
gtksignal.h Loading commit data...
gtksocket.c Loading commit data...
gtksocket.h Loading commit data...
gtkspinbutton.c Loading commit data...
gtkspinbutton.h Loading commit data...
gtkstatusbar.c Loading commit data...
gtkstatusbar.h Loading commit data...
gtkstock.c Loading commit data...
gtkstock.h Loading commit data...
gtkstyle.c Loading commit data...
gtkstyle.h Loading commit data...
gtktable.c Loading commit data...
gtktable.h Loading commit data...
gtktearoffmenuitem.c Loading commit data...
gtktearoffmenuitem.h Loading commit data...
gtktext.c Loading commit data...
gtktext.h Loading commit data...
gtktextbtree.c Loading commit data...
gtktextbtree.h Loading commit data...
gtktextbuffer.c Loading commit data...
gtktextbuffer.h Loading commit data...
gtktextchild.c Loading commit data...
gtktextchild.h Loading commit data...
gtktextchildprivate.h Loading commit data...
gtktextdisplay.c Loading commit data...
gtktextdisplay.h Loading commit data...
gtktextiter.c Loading commit data...
gtktextiter.h Loading commit data...
gtktextiterprivate.h Loading commit data...
gtktextlayout.c Loading commit data...
gtktextlayout.h Loading commit data...
gtktextmark.c Loading commit data...
gtktextmark.h Loading commit data...
gtktextmarkprivate.h Loading commit data...
gtktextsegment.c Loading commit data...
gtktextsegment.h Loading commit data...
gtktexttag.c Loading commit data...
gtktexttag.h Loading commit data...
gtktexttagprivate.h Loading commit data...
gtktexttagtable.c Loading commit data...
gtktexttagtable.h Loading commit data...
gtktexttypes.c Loading commit data...
gtktexttypes.h Loading commit data...
gtktextview.c Loading commit data...
gtktextview.h Loading commit data...
gtkthemes.c Loading commit data...
gtkthemes.h Loading commit data...
gtktipsquery.c Loading commit data...
gtktipsquery.h Loading commit data...
gtktogglebutton.c Loading commit data...
gtktogglebutton.h Loading commit data...
gtktoolbar.c Loading commit data...
gtktoolbar.h Loading commit data...
gtktooltips.c Loading commit data...
gtktooltips.h Loading commit data...
gtktree.c Loading commit data...
gtktree.h Loading commit data...
gtktreedatalist.c Loading commit data...
gtktreedatalist.h Loading commit data...
gtktreeitem.c Loading commit data...
gtktreeitem.h Loading commit data...
gtktreemodel.c Loading commit data...
gtktreemodel.h Loading commit data...
gtktreemodelsimple.c Loading commit data...
gtktreemodelsimple.h Loading commit data...
gtktreemodelsort.c Loading commit data...
gtktreemodelsort.h Loading commit data...
gtktreeprivate.h Loading commit data...
gtktreeselection.c Loading commit data...
gtktreeselection.h Loading commit data...
gtktreestore.c Loading commit data...
gtktreestore.h Loading commit data...
gtktreeview.c Loading commit data...
gtktreeview.h Loading commit data...
gtktreeviewcolumn.c Loading commit data...
gtktreeviewcolumn.h Loading commit data...
gtktypeutils.c Loading commit data...
gtktypeutils.h Loading commit data...
gtkvbbox.c Loading commit data...
gtkvbbox.h Loading commit data...
gtkvbox.c Loading commit data...
gtkvbox.h Loading commit data...
gtkviewport.c Loading commit data...
gtkviewport.h Loading commit data...
gtkvpaned.c Loading commit data...
gtkvpaned.h Loading commit data...
gtkvruler.c Loading commit data...
gtkvruler.h Loading commit data...
gtkvscale.c Loading commit data...
gtkvscale.h Loading commit data...
gtkvscrollbar.c Loading commit data...
gtkvscrollbar.h Loading commit data...
gtkvseparator.c Loading commit data...
gtkvseparator.h Loading commit data...
gtkwidget.c Loading commit data...
gtkwidget.h Loading commit data...
gtkwindow-decorate.c Loading commit data...
gtkwindow-decorate.h Loading commit data...
gtkwindow.c Loading commit data...
gtkwindow.h Loading commit data...
line-arrow.xbm Loading commit data...
line-wrap.xbm Loading commit data...
makeenums.awk Loading commit data...
makeenums.h Loading commit data...
makeenums.pl Loading commit data...
makefile.mingw.in Loading commit data...
makefile.msc.in Loading commit data...
maketypes.awk Loading commit data...
marble.xpm Loading commit data...
oldest-source-stamp Loading commit data...
queryimmodules.c Loading commit data...
simple.c Loading commit data...
test.xpm Loading commit data...
testcalendar.c Loading commit data...
testdnd.c Loading commit data...
testgtk.1 Loading commit data...
testgtk.c Loading commit data...
testgtkrc Loading commit data...
testgtkrc2 Loading commit data...
testinput.c Loading commit data...
testrgb.c Loading commit data...
testselection.c Loading commit data...
testtext.c Loading commit data...
testtextbuffer.c Loading commit data...
testthreads.c Loading commit data...
tree_minus.xbm Loading commit data...
tree_minus.xpm Loading commit data...
tree_plus.xbm Loading commit data...
tree_plus.xpm Loading commit data...
treestoretest.c Loading commit data...