1. 05 May, 2013 1 commit
  2. 28 Dec, 2012 1 commit
  3. 27 Feb, 2012 1 commit
  4. 21 Dec, 2010 1 commit
    • Matthias Clasen's avatar
      Merge libgdk and libgtk · 07d49ee5
      Matthias Clasen authored
      This commit does a number of things:
      - remove some dead wchar configury from configure.ac and gdkconfig.h
      - repurpose gdkconfig.h as header that contains GDK_WINDOWING_foo
        macros for each included backend, include it in gdk.h and install
        it in $includedir instead of below $libdir
      - drop the backend from the library names
      - build libgdk-3.0.la as a convenience lib and include it in libgtk-3.0.la
      It does not yet enable building multiple backends at the same time.
      07d49ee5
  5. 18 Dec, 2010 1 commit
  6. 02 May, 2010 1 commit
  7. 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 GtkTreeStore · 33ef105c
      Tim Janik authored
      * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
      public member fields.
      
      svn path=/trunk/; revision=20517
      33ef105c
  8. 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
  9. 28 May, 2008 1 commit
    • 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
  10. 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
  11. 15 Jan, 2006 1 commit
    • Kristian Rietveld's avatar
      Fixes #324099, Tommi Komulainen. · cb382422
      Kristian Rietveld authored
      2006-01-15  Kristian Rietveld  <kris@gtk.org>
      
      	Fixes #324099, Tommi Komulainen.
      
      	* gtk/gtktreestore.[ch] (gtk_tree_store_insert_with_values),
      	(gtk_tree_store_insert_with_valuesv): new functions, analog to
      	those found in GtkListStore.
      
      	* gtk/gtktreestore.c (gtk_tree_store_real_set_value),
      	(gtk_tree_store_set_valist), (gtk_tree_store_set_valist_internal),
      	(gtk_tree_store_sort_iter_changed): refactored.
      
      	* gtk/gtk.symbols: updated.
      
      	* tests/treestoretest.c: added a test for this new functionality.
      cb382422
  12. 21 Jun, 2005 1 commit
  13. 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
  14. 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
  15. 10 Oct, 2002 2 commits
  16. 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
  17. 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
  18. 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
  19. 09 Feb, 2002 1 commit
  20. 12 Dec, 2001 1 commit
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 22 May, 2001 1 commit
  27. 01 Apr, 2001 1 commit
  28. 23 Mar, 2001 3 commits
    • Havoc Pennington's avatar
      fix up some docs · 4291350f
      Havoc Pennington authored
      2001-03-23  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktoolbar.c, gtk/gtkimcontext.c, gtk/gtklabel.c: fix up
      	some docs
      
      2001-03-23  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/gdk-sections.txt: updates
      
      	* gtk/gtk-sections.txt: updates
      
      	* gtk/gtk-docs.sgml: mop up TreeModelSimple entity
      
      	* gdk/gdk-docs.sgml: remove input method
      	and input context docs
      4291350f
    • 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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