1. 20 Jun, 2008 4 commits
    • Kjartan Maraas's avatar
      reviewed by: <Carlos Garnacho <garnacho@gnome.org> · 0eba9bf8
      Kjartan Maraas authored
      2008-06-20  Kjartan Maraas  <kmaraas@gnome.org>
      
      	reviewed by: <Carlos Garnacho <garnacho@gnome.org>
      
      	* gtk/gtkbuilder.h:
      	* gtk/gtkliststore.h:
      	* gtk/gtkobject.h:
      	* gtk/gtktextchild.h:
      	* gtk/gtktreemodelfilter.h:
      	* gtk/gtktreemodelsort.h:
      	* gtk/gtktreestore.h:
      	#include <gdkconfig.h> not <gdk/gdkconfig.h>
      
      svn path=/trunk/; revision=20653
      0eba9bf8
    • Tim Janik's avatar
      Fixed wrongly resolved merge conflicts. · de676bf5
      Tim Janik authored
      * Fixed wrongly resolved merge conflicts.
      
      svn path=/trunk/; revision=20633
      de676bf5
    • Tim Janik's avatar
      Switch to "guint GSEAL (foo) : width;" when packing fields in guints. · cd19149a
      Tim Janik authored
      * gtk/gtkbox.h:
      * gtk/gtkbutton.h:
      * gtk/gtkcellrenderer.h:
      * gtk/gtkcellrenderertext.h:
      * gtk/gtkcheckmenuitem.h:
      * gtk/gtkcontainer.h:
      * gtk/gtkentry.h:
      * gtk/gtkhandlebox.h:
      * gtk/gtkimcontextsimple.h:
      * gtk/gtklabel.h:
      * gtk/gtkliststore.h:
      * gtk/gtkmenu.h:
      * gtk/gtkmenuitem.h:
      * gtk/gtkmenushell.h:
      * gtk/gtknotebook.h:
      * gtk/gtkpaned.h:
      * gtk/gtkplug.h:
      * gtk/gtkprintjob.h:
      * gtk/gtkprogressbar.h:
      * gtk/gtkrange.h:
      * gtk/gtkscale.h:
      * gtk/gtkscrolledwindow.h:
      * gtk/gtksizegroup.h:
      * gtk/gtksocket.h:
      * gtk/gtkspinbutton.h:
      * gtk/gtkstatusbar.h:
      * gtk/gtktable.h:
      * gtk/gtktearoffmenuitem.h:
      * gtk/gtktextbuffer.h:
      * gtk/gtktextview.h:
      * gtk/gtktogglebutton.h:
      * gtk/gtktoolbar.h:
      * gtk/gtktreestore.h:
      * gtk/gtktreeviewcolumn.h:
      * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
      
      svn path=/trunk/; revision=20621
      cd19149a
    • Tim Janik's avatar
      Seal GtkListStore · b4dafcbe
      Tim Janik authored
      * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
      public member fields.
      
      svn path=/trunk/; revision=20516
      b4dafcbe
  2. 18 Jun, 2008 1 commit
    • Michael Natterer's avatar
      deprecate GtkDestroyNotify. · fe8a946e
      Michael Natterer authored
      2008-06-18  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
      
      	* gtk/gtkactiongroup.[ch]
      	* gtk/gtkcombobox.[ch]
      	* gtk/gtkcontainer.[ch]
      	* gtk/gtkliststore.[ch]
      	* gtk/gtkmain.[ch]
      	* gtk/gtkmenu.c
      	* gtk/gtkstock.[ch]
      	* gtk/gtktreedatalist.[ch]
      	* gtk/gtktreemodelfilter.[ch]
      	* gtk/gtktreemodelsort.[ch]
      	* gtk/gtktreeprivate.h
      	* gtk/gtktreeselection.[ch]
      	* gtk/gtktreesortable.[ch]
      	* gtk/gtktreestore.[ch]
      	* gtk/gtktreeview.[ch]
      	* gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
      
      
      svn path=/trunk/; revision=20448
      fe8a946e
  3. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  4. 04 Jun, 2007 1 commit
    • Kristian Rietveld's avatar
      Fix #399071, suggestion from Benoit Dejean. · 21b381a2
      Kristian Rietveld authored
      2007-06-05  Kristian Rietveld  <kris@gtk.org>
      
      	Fix #399071, suggestion from Benoit Dejean.
      
      	* gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new
      	function, factored out code iterating (columns, values) vectors from
      	gtk_list_store_new_with_valuesv to here,
      	(gtk_list_store_set_valuesv): new public function to set list store
      	values using (columns, values) vectors,
      	(gtk_list_store_new_with_valuesv): call new _set_vector_internal
      	instead.
      
      	* gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal),
      	(gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv):
      	likewise.
      
      	* gtk/gtk.symbols: updated.
      
      
      svn path=/trunk/; revision=18041
      21b381a2
  5. 21 Jun, 2005 1 commit
  6. 09 Dec, 2004 1 commit
  7. 23 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Mark as const. · b69987f2
      Matthias Clasen authored
      2004-11-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkuimanager.h (gtk_ui_manager_get_type):
      	* gtk/gtktreeview.h (gtk_tree_view_get_type):
      	* gtk/gtktreeviewcolumn.h (gtk_tree_view_column_get_type):
      	* gtk/gtktreestore.h (gtk_tree_store_get_type):
      	* gtk/gtktreeselection.h (gtk_tree_selection_get_type):
      	* gtk/gtktreemodelfilter.h (gtk_tree_model_filter_get_type):
      	* gtk/gtktreemodel.h (gtk_tree_iter_get_type):
      	(gtk_tree_path_get_type):
      	(gtk_tree_row_reference_get_type):
      	* gtk/gtktoolitem.h (gtk_tool_item_get_type):
      	* gtk/gtktoolbutton.h (gtk_tool_button_get_type):
      	* gtk/gtktoggleaction.h (gtk_toggle_action_get_type):
      	* gtk/gtkthemes.h (gtk_theme_engine_get_type):
      	* gtk/gtktextiter.h (gtk_text_iter_get_type):
      	* gtk/gtksettings.h (gtk_settings_get_type):
      	* gtk/gtkselection.h (gtk_selection_data_get_type):
      	* gtk/gtkradioaction.h (gtk_radio_action_get_type):
      	* gtk/gtkmenutoolbutton.h (gtk_menu_tool_button_get_type):
      	* gtk/gtkliststore.h (gtk_list_store_get_type):
      	* gtk/gtkiconview.h (gtk_icon_view_get_type):
      	* gtk/gtkicontheme.h (gtk_icon_info_get_type):
      	* gtk/gtkiconfactory.h (gtk_icon_factory_get_type):
      	(gtk_icon_set_get_type):
      	(gtk_icon_source_get_type):
      	* gtk/gtkfilesystemwin32.h (gtk_file_system_win32_get_type):
      	* gtk/gtkfilesystemunix.h (gtk_file_system_unix_get_type):
      	* gtk/gtkfilesystem.h (gtk_file_folder_get_type):
      	(gtk_file_info_get_type, gtk_file_path_get_type):
      	(gtk_file_system_get_type):
      	* gtk/gtkfilefilter.h (gtk_file_filter_get_type):
      	* gtk/gtkfilechooserwidget.h (gtk_file_chooser_widget_get_type):
      	* gtk/gtkfilechooser.h (gtk_file_chooser_get_type):
      	* gtk/gtkfilechooserdialog.h (gtk_file_chooser_dialog_get_type):
      	* gtk/gtkexpander.h (gtk_expander_get_type):
      	* gtk/gtkentrycompletion.h (gtk_entry_completion_get_type):
      	* gtk/gtkcombobox.h (gtk_combo_box_get_type):
      	* gtk/gtkcomboboxentry.h (gtk_combo_box_entry_get_type):
      	* gtk/gtkclipboard.h (gtk_clipboard_get_type):
      	* gtk/gtkcellview.h (gtk_cell_view_get_type):
      	* gtk/gtkcellrenderertoggle.h (gtk_cell_renderer_toggle_get_type):
      	* gtk/gtkcellrenderertext.h (gtk_cell_renderer_text_get_type):
      	* gtk/gtkcellrendererprogress.h (gtk_cell_renderer_progress_get_type):
      	* gtk/gtkcellrendererpixbuf.h (gtk_cell_renderer_pixbuf_get_type):
      	* gtk/gtkcellrenderercombo.h (gtk_cell_renderer_combo_get_type):
      	* gtk/gtkcelllayout.h (gtk_cell_layout_get_type):
      	* gtk/gtkactiongroup.h (gtk_action_group_get_type):
      	* gtk/gtkaction.h (gtk_action_get_type):
      	* gtk/gtkaccessible.h (gtk_accessible_get_type):
      	* gtk/gtkaccelmap.h (gtk_accel_map_get_type):
      	* gtk/gtkaccelgroup.h (gtk_accel_group_get_type):
      	* gtk/gtkmessagedialog.h (gtk_message_dialog_get_type): Mark as const.
      
      	* gtk/gtkicontheme.h:  Don't mark gtk_icon_theme_error_quark()
      	as const, to be consistent with all the other error_quark
      	functions. (technically they are const, but since these are
      	called only in error paths, giving the compiler better
      	optimization opportunities doesn't matter much)
      
      	* gtk/gtk.symbols:
      	* gdk/gdk.symbols: Add attribute annotations.
      
      	* gtk/makegtkalias.pl:
      	* gdk/makegdkalias.pl: Keep attribute annotations, but strip PRIVATE.
      
      	* gtk/Makefile.am (gtk.def):
      	* gdk/Makefile.am (gdk.def): Strip attribute annotations, but keep
      	PRIVATE.
      b69987f2
  8. 22 Aug, 2004 1 commit
    • Soeren Sandmann's avatar
      gtk/gtkexpander.c · c49739a0
      Soeren Sandmann authored
      Sun Aug 22 16:55:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkexpander.c
      	* gtk/gtkalignment.c:
      	* gtk/gtktexttag.c
      	Make enums match property names. Found by a script by Tommi
      	Komulainen.
      
      	* gtk/gtkpaned.c (gtk_paned_class_init): fix min/max mixup.
      
      Sun Aug 22 16:09:49 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkliststore.h (struct _GtkListStore):
      	* gtk/gtkliststore.c (gtk_list_store_init):
      	* gtk/gtkliststore.c (gtk_list_store_insert):
      	* gtk/gtkliststore.c (gtk_list_store_remove):
      	Restore length field; PyGTK and maybe others use it directly.
      c49739a0
  9. 14 Aug, 2004 1 commit
    • Soeren Sandmann's avatar
      New function. · 15ed3634
      Soeren Sandmann authored
      Sat Aug 14 17:56:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkentry.c (gtk_entry_get_pixel_ranges): New function.
      
      	* gtk/gtkentry.c (in_selection): New function using
      	gtk_entry_get_pixel_ranges() to determine whether a click is in
      	the selection. Improve entry behavior wrt. dragging and
      	selecting. Bug #143249.
      
      Sat Aug 14 17:53:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* configure.in: Require glib 2.5.2
      
      	* gtk/gtksequence.[ch]: New internal data structure.
      
      	* gtk/gtkliststore.[hc]: Reimplement in terms of new data
      	structure
      
      	* tests/Makefile.am (testtreemodel_SOURCES):
      	* tests/testtreemodel.c: New test program written by Matthias.
      15ed3634
  10. 18 Nov, 2002 1 commit
    • Kristian Rietveld's avatar
      modify and free tmp instead of path ... (patch from #97927). · b977d5af
      Kristian Rietveld authored
      Mon Nov 18 20:42:27 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_expand_to_path): modify and
              free tmp instead of path ... (patch from #97927).
      
      Mon Nov 18 20:31:20 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
              only _set_text if celltext->text is not NULL. (#97815, reported
              and testcase provided by Vitaly Tishkov).
      
      Mon Nov 18 20:28:28 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
              also update the anchor_path, makes behaviour consistent with the
              other selection modification functions. (#96801, reported and
              testcase provided by Vitaly Tishkov).
      
      Mon Nov 18 20:17:56 2002  Kristian Rietveld  <kris@gtk.org>
      
              Hrm, this fixes up lots of mistakes in my swap/move code ... Some
              of these mistakes where pointed out by Vitaly Tishkov in bugs
              #97403, #97404, #97412, #97618.
      
              * gtktreestore.[ch]: gtk_tree_store_move is now private, use
              gtk_tree_store_move_{before,after} instead now. Lots of fixes
              (more like a rewrite :) in the _move and _swap functions.
      
              * gtkliststore.[ch]: likewise.
      b977d5af
  11. 07 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 55704fc7
      Manish Singh authored
      Mon Oct  7 11:59:33 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkliststore.[ch] gtk/gtktreedatalist.[ch] gtk/gtktreednd.c
              gtk/gtktreemodel.[ch] gtk/gtktreemodelsort.[ch]
              gtk/gtktreeselection.[ch] gtk/gtktreesortable.[ch]
              gtk/gtktreestore.[ch]: Deprecation cleanup
      55704fc7
  12. 26 Jul, 2002 1 commit
    • Kristian Rietveld's avatar
      API additions: _move, _reorder and _swap for stores, path constructor. · 6c3caf2a
      Kristian Rietveld authored
      Fri Jul 26 22:53:37 2002  Kristian Rietveld  <kris@gtk.org>
      
              API additions: _move, _reorder and _swap for stores, path
              constructor.
      
              * gtk/gtktreemodel.[ch] (gtk_tree_path_new_from_indices): new function.
      
              * gtk/gtkliststore.[ch]: added gtk_list_store_reorder_func (private),
              gtk_list_store_reorder, gtk_list_store_swap, gtk_list_store_move.
      
              * gtk/gtktreestore.[ch]: added gtk_tree_store_reorder_func (private),
              gtk_tree_store_reorder, gtk_tree_store_swap, gtk_tree_store_move.
      
      Fri Jul 26 22:32:57 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreestore.c (node_free): return FALSE,
              (gtk_tree_store_finalize): use g_node_traverse instead of
              g_node_children_foreach, so the whole tree will be freed (#88854,
              patch from Emmanuel Briot).
      
      Fri Jul 26 22:32:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreeview.c (gtk_tree_view_button_press): fix some memleaks,
              (#84426, patch from Matthias Clasen).
      
      Fri Jul 26 22:31:25 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): _iter_children
              check shouldn't be in g_return_return_val_if_fail (pointed out by
              Josh Green, #88997),
              (gtk_tree_view_set_model): call _gtk_tree_view_column_unset_model
              for each column when we unset the model (part of #82484),
              (gtk_tree_view_get_cell_area): return if we ran out of tree or
              if we got an invalid path (#82376).
      
              * gtk/gtktreeprivate.h: add _gtk_tree_view_column_unset_model.
      
              * gtk/gtktreeviewcolumn.c: implement _gtk_tree_view_column_unset_model
              which disconnects the sort_column_changed_signal (part of #82484).
      
              * gtk/gtkliststore.c (gtk_list_store_insert): append row if the
              given postion is off the end of the tree (#85813).
      
              * gtk/gtkentry.c (gtk_cell_editable_key_press_event): let's use
              2-space indent, commit changes if up/down keys has been pressed,
              this overrides the focus key foo so the user won't be surprised
              (#84665).
      6c3caf2a
  13. 04 Jun, 2002 1 commit
    • Kristian Rietveld's avatar
      Discussed in #76249. · f39b189d
      Kristian Rietveld authored
      Tue Jun  4 19:24:41 2002  Kristian Rietveld  <kris@gtk.org>
      
              Discussed in #76249.
      
              * gtk/gtkliststore.[ch]: made gtk_list_store_remove return a gboolean,
              added gtk_list_store_iter_is_valid.
      
              * gtk/gtktreestore.[ch]: made gtk_tree_store_remove return a gboolean,
              added gtk_tree_store_iter_is_valid.
      
              * gtk/gtktreemodelsort.[ch]: added VALID_ITER macro as in liststore
              and treestore sources, added gtk_tree_model_sort_iter_is_valid.
      f39b189d
  14. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
      
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
      e5d1ea8c
  15. 09 Feb, 2002 1 commit
  16. 12 Dec, 2001 1 commit
  17. 14 Nov, 2001 1 commit
    • Jonathan Blandford's avatar
      new "model" construct property for language bindings. · 43d46397
      Jonathan Blandford authored
      Tue Nov 13 21:00:59 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): new
      	"model" construct property for language bindings.
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_column_types): New
      	function to let you set the column types of a GtkTreeStore for
      	language bindings.
      
      	* gtk/gtkliststore.c (gtk_list_store_set_column_types): ditto.
      43d46397
  18. 08 Sep, 2001 1 commit
  19. 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
  20. 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
  21. 22 Aug, 2001 1 commit
  22. 04 Jul, 2001 1 commit
  23. 30 Jun, 2001 1 commit
    • 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
  24. 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
  25. 22 May, 2001 1 commit
  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. 05 Mar, 2001 1 commit
    • Jonathan Blandford's avatar
      renamed "child_toggled" to "has_child_toggled". · 3b2ffda1
      Jonathan Blandford authored
      Mon Mar  5 14:38:54 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c: renamed "child_toggled" to
      	"has_child_toggled".
      
      	* gtk/gtktreeview.c: Handle removing columns better.  Updated to
      	handle new signal name.
      
      	* gtk/gtktreestore.c: Updated to handle new signal name.
      	* gtk/gtklisttore.c: Updated to handle new signal name.
      	* gtk/gtktreemodelsort.c: Updated to handle new signal name.
      3b2ffda1
  28. 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
  29. 17 Feb, 2001 1 commit
    • 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
  30. 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
  31. 10 Jan, 2001 1 commit
    • 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
  32. 08 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      hack on this some · 157cfa27
      Havoc Pennington authored
      2001-01-08  Havoc Pennington  <hp@redhat.com>
      
      	* tests/testtreeview.c: hack on this some
      
      	* gtk/gtktreestore.c (gtk_tree_store_setv): rename
      	gtk_tree_store_set_valist, v is for arrays, valist for varargs
      	list
      	(gtk_tree_store_getv): rename gtk_tree_store_get_valist
      
      	* gtk/gtkliststore.h: Add varargs set() and get() convenience
      	functions
      157cfa27
  33. 27 Oct, 2000 1 commit
  34. 26 Oct, 2000 1 commit
    • Jonathan Blandford's avatar
      Got rid of GtkTreeNode, and changed it to GtkTreeIter. Added iterators · ef7b510f
      Jonathan Blandford authored
      Wed Oct 25 20:40:25 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h: Got rid of GtkTreeNode, and changed it to
      	GtkTreeIter.  Added iterators everywhere.
      
      	* gtk/gtktreeviewcolumn.c: Changed to use the iterators.
      
      	* gtk/gtktreeviewselection.c: Changed to use the iterators.
      
      	* gtk/gtktreestore.c: Changed to use the iterators.
      
      	* gtk/gtkliststore.c: Commented out the code.  Will convert to
      	iterators tomorrow.
      
      	* gtk/gtkmodelsimple.c: Commented out the code.  Will convert to
      	iterators tomorrow.
      
      	* gtk/treestoretest.c: Changed to use iterators.
      
      	* demos/testgtk/main.c: Moved to use the new iterator system.
      ef7b510f
  35. 16 Oct, 2000 1 commit