1. 18 Oct, 2001 1 commit
    • Matthias Clasen's avatar
      Fix docs. (#61976) · c9b4981b
      Matthias Clasen authored
              * gtk/gtktreeselection.c (gtk_tree_selection_set_mode):
              Fix docs. (#61976)
      
              * gtk/gtkplug.c (gtk_plug_get_id) : Fix docs. (#62144)
      
              * gtk/gtkliststore.c: Fix docs. (#61672, #61675)
      c9b4981b
  2. 09 Oct, 2001 1 commit
  3. 01 Oct, 2001 1 commit
    • Jonathan Blandford's avatar
      add a finalize and destroy handler. · b41d6acd
      Jonathan Blandford authored
      Mon Oct  1 16:08:23 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_class_init): add a finalize
      	and destroy handler.
      
      	* gtk/gtktreestore.c (gtk_list_store_class_init): ditto, #59963
      
      	* gtk/gtktreeview.h (struct _GtkTreeViewClass): Add
      	'start_editing' flag to select_cursor_row.  Bug spotted by Manish
      	Singh <yosh@gimp.org>.
      b41d6acd
  4. 27 Sep, 2001 1 commit
  5. 12 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      Rename interface signals to make them more clear. Also, change · fc8304b1
      Jonathan Blandford authored
      Wed Sep 12 19:01:05 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h (struct _GtkTreeModelIface): Rename interface
      	signals to make them more clear.  Also, change ::range_changed to
      	::row_changed.
      	* gtk/gtktreemodel.c: Adjust to interface change
      	* gtk/gtktreemodel.h: ditto
      	* gtk/gtktreemodelsort.c: ditto
      	* gtk/gtktreestore.c: ditto
      	* gtk/gtkliststore.c: ditto
      	* gtk/gtktreeview.c: ditto
      	* tests/testtreecolumns.c: ditto
      	* gtk/gtkmarshal.list: Actually remove a marshaller!
      fc8304b1
  6. 08 Sep, 2001 1 commit
  7. 04 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      fix initial val for sort column. · 93d8c11e
      Jonathan Blandford authored
      Tue Sep  4 18:13:43 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_init): fix initial val for
      	sort column.
      
      	* gtk/gtktreestore.c (gtk_list_store_init): ditto
      
      	* gtk/gtktreesortable.c: add docs.
      93d8c11e
  8. 03 Sep, 2001 1 commit
    • Jonathan Blandford's avatar
      handle default sort feature · 43405a3d
      Jonathan Blandford authored
      Mon Sep  3 18:03:56 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func):
      	handle default sort feature
      
      	* gtk/gtktreesortable.c (gtk_tree_sortable_set_default_sort_func):
      	new function to handle default sort.
      	(gtk_tree_sortable_has_default_sort_func): check if default sort
      	is set.
      
      	* gtk/gtkliststore.c (gtk_list_store_set_default_sort_func):
      	handle default sort feature
      43405a3d
  9. 23 Aug, 2001 1 commit
    • Kristian Rietveld's avatar
      use GtkSortType instead of GtkTreeSortOrder. (#59173). · 7cfc56db
      Kristian Rietveld authored
      Thu Aug 23 20:01:41 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktreemodelsort.[ch], gtk/gtktreesortable.[ch],
              gtk/gtktreestore.[ch], gtk/gtktreeviewcolumn.[ch],
              gtk/gtkliststore.[ch]: use GtkSortType instead of GtkTreeSortOrder.
              (#59173).
      7cfc56db
  10. 19 Aug, 2001 1 commit
    • Jonathan Blandford's avatar
      Fix up warnings, #58928. · 9b14c046
      Jonathan Blandford authored
      Sun Aug 19 03:22:59 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c: Fix up warnings, #58928.
      
      	* gtk/gtktreeselection.h: Change signal prototype, #58647
      
      	* gtk/gtktreeview.c (_gdk_tree_view_find_node): Make more robust,
      	#59221.
      
      	* gtk/gtkstyle.c: Actually prelight arrow, #50981
      9b14c046
  11. 18 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Matthias Clasen to remove remove all instances of · 4e2b60ac
      Owen Taylor authored
      Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/*.c: Patch from Matthias Clasen to remove remove
      	all instances of g_return_if_fail (foo != NULL); that are
      	immediately before a g_return_if_fail (GTK_IS_FOO (foo));
      	since the second check catches the NULL anyways.
      4e2b60ac
  12. 09 Jul, 2001 1 commit
  13. 30 Jun, 2001 2 commits
    • Jonathan Blandford's avatar
      New function for language bindings. · 95cd4d8e
      Jonathan Blandford authored
      Sat Jun 30 17:13:51 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_newv): New function for
       	language bindings.
      
      	* gtk/gtkteststore.c (gtk_test_store_newv): New function for
       	language bindings.
      95cd4d8e
    • Jonathan Blandford's avatar
      changed new_with_types to just plain new, fixing the number of columns, · ee5ff7dd
      Jonathan Blandford authored
      Fri Jun 29 22:13:28 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_new): changed new_with_types
      	to just plain new, fixing the number of columns, and column types
      	at creation time.
      
      	* gtk/gtkliststore.c (gtk_list_store_new): ditto.
      
      	* gtk/gtkcellrenderertext.c
      	(gtk_cell_renderer_text_set_fixed_height_from_font): FIX the
      	height to a specific font.
      
      	* gtk/gtktreeview.c (gtk_tree_view_is_expander_column): fix brokenness.
      
      	* tests/*c: change to work with new store models.
      ee5ff7dd
  14. 19 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      New functions to clear a model. · 8413ee73
      Jonathan Blandford authored
      Tue Jun 19 19:13:19 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_clear):
      	* gtk/gtktreestore.c (gtk_tree_store_clear): New functions to
      	clear a model.
      8413ee73
  15. 15 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      Rename gtk_tree_sortable_sort_column_id_set_func. It's much shorter now. · 67f8b5bd
      Jonathan Blandford authored
      
      Fri Jun 15 18:53:48 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func): Rename
      	gtk_tree_sortable_sort_column_id_set_func.  It's much shorter now.
      	* gtk/gtktreeview.c (gtk_tree_view_sort_iter_changed): WOOO!!!
      	Now I can really reorder/sort all Store widgets.  treesorttest
      	seems to just work now.
      	* gtk/gtklistview.c (gtk_list_store_iter_changed): Whoops.
      	testtreesort worked through a big coincidence all this time.
      	* gtk/gtkrbtree.c (_gtk_rbtree_reorder): Nasty bug fix in nasty
      	code.
      	* tests/testtreecolumns.c: Big 'ol warning at the top letting
      	people know that this code should never ever ever be copied.
      
      HA!
      
      While everyone else was busy flaming eash other over configuration
      engines, I secretly got sorting completely working with store widgets
      and GtkTreeView.  GtkTreeModelSort, here I come!!!!!
      67f8b5bd
  16. 14 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      Whoops. Forgot this a couple months ago. Now GtkTreeStore sort of sorts. · 426ac9c6
      Jonathan Blandford authored
      Thu Jun 14 19:21:27 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops.  Forgot
      	this a couple months ago.  Now GtkTreeStore sort of sorts.  I'll
      	finish it off tonight, though it basically works now when it's a
      	list.  Also, I have a sinking feeling neither GtkTreeStore or
      	GtkListStore actually resort when adding a new item.  I'll look
      	into it.
      426ac9c6
  17. 12 Jun, 2001 1 commit
  18. 08 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      warn if row/cols are out of range. Fix bug #55921 · 72ef055b
      Jonathan Blandford authored
      Fri Jun  8 12:38:49 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktable.c (gtk_table_resize): warn if row/cols are out of
      	range.  Fix bug #55921
      
      	* gtk/gtkliststore.c (gtk_list_store_new_with_types): fix doc bug
      	(#55920).
      
      Fri Jun  8 12:38:49 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktable.c (gtk_table_resize): warn if row/cols are out of
      	range.  Fix bug #55921
      
      	* gtk/gtkliststore.c (gtk_list_store_new_with_types): fix doc bug
      	(#55920).
      72ef055b
  19. 22 May, 2001 1 commit
    • Jonathan Blandford's avatar
      Evil function to deal with very large (TM) amounts of text. May be moved · 66152ab6
      Jonathan Blandford authored
      Tue May 22 15:13:52 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderertext.c
      	(gtk_cell_renderer_text_set_fixed_size): Evil function to deal
      	with very large (TM) amounts of text.  May be moved to
      	GtkCellRenderer in the future, though I'm not sure it wants to be
      	this accessible.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
      	More sanity brought to this class.  I like it.
      
      	* tests/testtreecolumns.c (ViewColumnModel): Amazingly scary test
      	case.  Kids, don't try this at home.
      
      	* gtk/gtktreemodel.c (gtk_tree_model_get_iter_root): new
      	convenience function.
      
      	* gtk/gtkwindow.c (gtk_window_set_geometry_hints): Fix typo in docs.
      66152ab6
  20. 12 Apr, 2001 1 commit
    • Jonathan Blandford's avatar
      fix a fixme. · 31210813
      Jonathan Blandford authored
      Sun Apr  8 05:36:06 2001  Jonathan Blandford  <jrb@webwynk.net>
      
              * gtk/gtktextview.c (gtk_text_view_class_init): fix a fixme.
      
              * gtk/gtkcellrendertoggle.c: change GTK_TYPE_POINTER to
              GTK_TYPE_STRING.
      
              * gtk/gtktreeview.c: New functions to allow initial column
              dragging work.
      
              * gtk/gtktreeviewcolumn.c: Initial column dragging support.
      
              * tests/testtreefocus.c: give dave some love.
      
              * tests/testtreesort.c: Modify test to check really long samples.
      31210813
  21. 02 Apr, 2001 1 commit
    • Jonathan Blandford's avatar
      BOXED,BOXED,BOXED,BOXED): new marshaller. · 29985af0
      Jonathan Blandford authored
      Mon Apr  2 16:56:15 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkmarshal.list (VOID:BOXED,BOXED,BOXED,BOXED): new
      	marshaller.
      
      	* gtk/gtktreemodel.c (gtk_tree_model_range_changed): change
      	"changed" signal to "range_changed".
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_model): fix small bug where
      	removing a tree from one model would remove all trees from that
      	model.
      	* gtk/gtktreeview.c (gtk_tree_view_range_changed): use range
      	changed signal instead.
      29985af0
  22. 01 Apr, 2001 1 commit
  23. 30 Mar, 2001 1 commit
  24. 29 Mar, 2001 1 commit
    • Jonathan Blandford's avatar
      Massive reordering/sorting work. Now pretty much works. · f19af6f4
      Jonathan Blandford authored
      Thu Mar 29 16:29:12 2001  Jonathan Blandford  <jrb@webwynk.net>
      
      	* gtk/gtkliststore.c (gtk_list_store_iter_changed): Massive
      	reordering/sorting work.  Now pretty much works.
      
      	* gtk/gtkrbtree.c (_gtk_rbtree_reorder): Lots of work to make
      	reorder mostly work.  Still need to get the parity correct.
      
      	* gtk/gtktreeviewcolumn.c: Listen for "model" property changed
      	signal, so I can listen for the sort_column_changed signal so I
      	can change my "sort_indicator" property.  Cool.
      f19af6f4
  25. 28 Mar, 2001 2 commits
  26. 23 Mar, 2001 2 commits
    • Jonathan Blandford's avatar
      Forgot to namespace this. · b572436d
      Jonathan Blandford authored
      Fri Mar 23 16:13:43 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.h (GtkCellDataFunc): Forgot to namespace
      	this.
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_value): change from
      	set_cell to set_value
      
      	* gtk/gtkliststore.c (gtk_list_store_set_value): change from
      	set_cell to set_value
      b572436d
    • Jonathan Blandford's avatar
      fix braino. New interface to add cleanup sortable support. · 21fd434c
      Jonathan Blandford authored
      Thu Mar 22 19:27:34 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	fix braino.
      	* gtk/gtktreesortable.[ch]: New interface to add cleanup sortable
      	support.
      
      	* gtk/gtktreeview.c: Addition of initial sortable support.
      
      	* gtk/gtktreestore.c: Addition of initial sortable support.
      
      	* gtk/gtkliststore.c: Addition of initial sortable support.
      
      	* gtk/gtkmarshal.list: yet another marshaller.
      
      	* gtk/gtktreedatallist.[ch]: shared code between the store models
      	for handling sorting headers.
      21fd434c
  27. 13 Mar, 2001 1 commit
    • Jonathan Blandford's avatar
      Fix up focus code a lot. · cf89a05f
      Jonathan Blandford authored
      Mon Mar 12 21:02:08 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_header_focus): Fix up focus
      	code a lot.
      
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_free): use
      	g_mem_chunk.
      	(_gtk_tree_data_list_alloc): use g_mem_chunk.
      	(_gtk_tree_data_list_node_to_value): Fix to switch on
      	G_TYPE_FUNDAMENTAL.
      	(_gtk_tree_data_list_value_to_node): Fix to switch on
      	G_TYPE_FUNDAMENTAL.
      	(_gtk_tree_data_list_node_copy): Fix to switch on
      	G_TYPE_FUNDAMENTAL.
      cf89a05f
  28. 10 Mar, 2001 2 commits
    • Jonathan Blandford's avatar
      Fix a stupid typo. (gtk_list_store_set_cell): Fix a stupid typo. · d9582bd3
      Jonathan Blandford authored
      Sat Mar 10 12:15:31 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_cell): Fix a stupid typo.
      	(gtk_list_store_set_cell): Fix a stupid typo.
      d9582bd3
    • Jonathan Blandford's avatar
      Make select_all not work if you're in SINGLE mode (it doesn't make that · 351052e1
      Jonathan Blandford authored
      Fri Mar  9 20:36:21 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_select_all): Make
      	select_all not work if you're in SINGLE mode (it doesn't make that
      	much sense, anyway.)
      
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value):
      	handle types more sanely.
      	(_gtk_tree_data_list_value_to_node): handle types more sanely.
      	(_gtk_tree_data_list_node_copy): handle types more sanely.
      
      	* gtk/gtkliststore.c (gtk_list_store_set_cell): fix to work with
      	GValue better. Converts the type as well.
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_cell): fix to work with
      	GValue better. Converts the type as well.
      351052e1
  29. 28 Feb, 2001 1 commit
    • Jonathan Blandford's avatar
      Proxy out to _gtk_tree_row_reference_deleted. (inserted_callback): Proxy · c82dc58f
      Jonathan Blandford authored
      Tue Feb 27 19:32:53 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (deleted_callback): Proxy out to
      	_gtk_tree_row_reference_deleted.
      	(inserted_callback): Proxy out to
      	_gtk_tree_row_reference_inserted.
      	(_gtk_tree_row_reference_new_from_view): Somewhat yukky hack to
      	get around signal emission ordering problem.
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_real_unselect_all):
      	fix to work with SINGLE
      	(_gtk_tree_selection_internal_select_node): Major sanitization on
      	selections.  SINGLE now seems to work.
      
      	* tests/Makefile.am: add testtreecolumn.c:
      
      	* tests/testtreecolumn.c: New test.  Mostly points out selection
      	bugs currently, but will test columns later.
      
      	* gtk/gtkrbtree.c (_gtk_rbtree_remove_node): Fix really nasty
      	selection bug.  I hate touching this code -- it's scary.
      c82dc58f
  30. 22 Feb, 2001 1 commit
    • Jonathan Blandford's avatar
      add functions for signal emission. · 851bd821
      Jonathan Blandford authored
      Wed Feb 21 20:56:50 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h: add functions for signal emission.
      
      	* gtk/gtktreestore.c: move to use above functions instead of
      	g_signal_emit.
      
      	* gtk/gtkliststore.c: ditto
      851bd821
  31. 21 Feb, 2001 1 commit
    • Jonathan Blandford's avatar
      removed signals. Moved to inherit from GObject instead of GtkObject. · ef084e87
      Jonathan Blandford authored
      Wed Feb 21 15:41:34 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.c: removed signals.  Moved to inherit from
      	GObject instead of GtkObject.
      
      	* gtk/gtkliststore.c: ditto.
      
      	* gtk/gtktreemodelsort.c: ditto.
      
      	* gtk/gtktreemodel.c (gtk_tree_model_base_init): moved signals to
      	GtkTreeModelIface, instead of in each model.
      ef084e87
  32. 17 Feb, 2001 2 commits
    • Tim Janik's avatar
      default initialize the generated ENTER_NOTIFY event with 0, otherwise not · ca26902c
      Tim Janik authored
      Sat Feb 17 06:47:27 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.c (gtk_menu_motion_notify): default initialize the
              generated ENTER_NOTIFY event with 0, otherwise not explicitely
              setup fields contain garbage (e.g. subwindow, breaking
              gdk_drawable_ref() upon event copy).
              (gtk_menu_stop_navigating_submenu_cb): same here.
      
              * gtk/gtklist.c (gtk_list_vertical_timeout):
              * gtk/gtklist.c (gtk_list_horizontal_timeout):
              * gtk/gtkclist.c (vertical_timeout):
              * gtk/gtkclist.c (horizontal_timeout): change direct assignment
              default-zero-intialization for unions to memset(,0,), as unions are
              not fully default-zero-initialized by compilers (GdkEvent x = { 0, };
              has to become GdkEvent x; memset (&x, 0, sizeof (x)); )
      
              * gtk/gtktreeview.c (gtk_tree_view_set_rows_drag_source): scratch
              g_closure_sink() warning.
      
              * gtk/gtktreemodel.c (gtk_tree_model_get_valist):
              * gtk/gtktreestore.c (gtk_tree_store_set_valist):
              * gtk/gtkliststore.c (gtk_list_store_set_valist):
              fix G_VALUE_COLLECT() and G_VALUE_LCOPY() calls.
      ca26902c
    • Jonathan Blandford's avatar
      removed gtk_*_store_get, and moved to GtkTreeModel. · b10825d5
      Jonathan Blandford authored
      Fri Feb 16 17:49:59 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreestore.[hc], gtk/gtkliststore.[ch]: removed
      	gtk_*_store_get, and moved to GtkTreeModel.
      
      	* gtk/gtktreemodel.h (gtk_tree_model_set{v,}): Added
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_finalize): added.
      
      	* gtk/Makefile.am: remove gtktreemodelmapping.[ch]
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_func): let you
      	set the func.
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data):
      	freeze/thaw notify between setting all the properties for a cell.
      
      	* gtk/gtk.h: remove gtktreemodelsimple.h, and gtktreemodelmapping.h
      b10825d5
  33. 08 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      remove validation idle · 4a3c8a36
      Havoc Pennington authored
      2001-02-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
      	validation idle
      
      	* demos/gtk-demo/main.c (create_tree): adjust to changes in text
      	cell renderer
      
      	* demos/pixbuf-demo.c (timeout): remove deprecated
      	gtk_widget_draw
      
      	* demos/testpixbuf-save.c (main): remove deprecated
      	gtk_drawing_area_size
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): allocate
      	buttons even if the model isn't setup. gtk_tree_view_check_dirty()
      	at the start of the allocation.
      	(gtk_tree_view_check_dirty): handle column->button == NULL, handle
      	unsetup or NULL model.
      
      	* gtk/gtkstyle.c (gtk_default_draw_flat_box): drawing for the
      	even/odd/sorted cells in the tree view.
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_real_unselect_all):
      	bugfixes
      
      	* gtk/gtktreeview.c: assorted bugfixy stuff. Draw the row
      	backgrounds with draw_flat_box using different detail for even/odd
      	rows.
      
      	* gtk/gtkrbtree.c, gtkrbtree.h: Keep track of the parity of each
      	row, so we can draw the alternating colors thing
      
      	* gtk/gtktexttag.c (gtk_text_tag_set_property): if we change a
      	property from a synonym property, notify for the synonym.
      	Also, nuke the background_gdk_set and foreground_gdk_set synonyms
      	(gtk_text_tag_get_property): Always return the font, even if
      	all its fields aren't set
      
      	* gtk/gtkcellrenderertext.h (struct _GtkCellRendererText): don't
      	store the attr list; it leaves us with no way to change attributes
      	in _render according to the render flags, and no way to implement
      	get_property. Instead store all the specific text attributes.
      	Separate whether an attribute is enabled from its value. Sync all
      	properties with GtkTextTag, make them all consistent, etc.
      
      	* gtk/gtkcellrenderer.h: Add a flag GTK_CELL_RENDERER_SORTED so
      	renderers can highlight the sort row/column
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_property): use
      	accessor functions to get values; this has the side effect of
      	showing up which accessor functions were missing. Added those.
      
      	* gtk/gtktreeviewcolumn.h: Replace set_justification with
      	set_alignment, to be consistent with GtkLabel, GtkMisc
      
      	* gtk/gtktreeviewcolumn.c: Added code to display sort indicator
      	arrow.
      
      	* gtk/Makefile.am (gtk_public_h_sources): add gtktreesortable.h
      
      	* gtk/gtktreesortable.h: updates in here
      4a3c8a36
  34. 03 Feb, 2001 1 commit
  35. 31 Jan, 2001 1 commit
    • 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_nth_child): ditto
      	(gtk_list_store_iter_nth_child): ditto
      	(gtk_list_store_iter_parent): ditto
      
      	* gtk/gtktreestore.c (gtk_tree_store_get_path): g_return_if_fail
      	on iter->user_data != NULL instead of silently accepting it.
      	(gtk_tree_store_iter_next): ditto. Also, don't modify iter unless
      	we are returning TRUE.
      	(gtk_tree_store_iter_children): ditto
      	(gtk_tree_store_iter_nth_child): ditto
      	(gtk_tree_store_iter_parent): ditto
      	(gtk_tree_store_insert): remove handling of parent->user_data ==
      	NULL, replace with parent == NULL
      
      	* gtk/gtktreemodel.c (inserted_callback): put some fixes in here,
      	and a comment explaining things
      
      	* gtk/gtktreestore.c: add GtkTreeDragSource/GtkTreeDragDest
      	interface support to GtkTreeStore.
      
      	* gtk/gtktreemodel.c (gtk_tree_path_prev): didn't properly return
      	FALSE if no prev, fix
      
      	* gtk/gtktreeview.c (set_source_row): use a row reference
      	(set_dest_row): use a row reference
      5cd29932