1. 24 Oct, 2001 1 commit
    • Kristian Rietveld's avatar
      more changes in an attempt to get it right. It's not yet ready for general · beaba6a4
      Kristian Rietveld authored
      Wed Oct 24 20:29:47 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktreemodelsort.c: more changes in an attempt to get
              it right. It's not yet ready for general consumption.
      
              * tests/treestoretest.c: add a button and entry for the new
              iter_change function
              (iter_change): new function, to test
              the row_changed signal implementation of the GtkTreeModelSort
      
              * tests/testtreesort.c: cleanups, changes to test more features
              of the GtkTreeModelSort at once
      beaba6a4
  2. 22 Oct, 2001 1 commit
    • Jonathan Blandford's avatar
      Remove handle_box from App demo. · dc754528
      Jonathan Blandford authored
      
      Mon Oct 22 14:08:26 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* demos/gtk-demo/appwindow.c: Remove handle_box from App demo.
      
      	* gtk/gtktreeview.c (size_allocate): Move to a different drawing
      	system.  Instead of having a window the size of the tree, we have
      	a window the size of widget->allocation, and simply draw with the
      	offset.
      	(coords_are_over_arrow): ditto.  Move to window coordinates.
      	(do_prelight): ditto
      	(do_unprelight): ditto
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
      	Minor fix from Kristian Rietveld to fix unsorted case.
      dc754528
  3. 19 Oct, 2001 1 commit
  4. 03 Oct, 2001 1 commit
    • Kristian Rietveld's avatar
      preparation for surgery ditto · b5ad1977
      Kristian Rietveld authored
      Wed Oct  3 20:29:29 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktreemodelsort.[ch]: preparation for surgery
              * tests/testtreesort.c: ditto
      b5ad1977
  5. 20 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Small warning cleanups. · 483fca5e
      Owen Taylor authored
      Thu Sep 20 11:03:51 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkobject.c gtk/gtklist.c gtk/gtkplug.c gtk/gtksocket.c
              gtk/gtktreemodelsort.c gtk/gtktreeview.c: Small warning cleanups.
      
              * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_get_group): Change
              the function definition so we don't accidentally rely on
              the compat #define from gtk_radio_menu_item_group.
              (#60782, Jeff Franks)
      483fca5e
  6. 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
  7. 02 Sep, 2001 1 commit
    • Kristian Rietveld's avatar
      much changes in an attempt to make it working. It mostly works now, · 109cda6b
      Kristian Rietveld authored
      Sun Sep  2 23:27:16 2001  Kristian Rietveld  <kristian@planet.nl>
      
              * gtk/gtktreemodelsort.[ch]: much changes in an attempt to make
              it working. It mostly works now, although there're still a few issues
              to be worked out.
      
              * tests/testtreesort.c (main): changes to have a better test
              application for the GtkTreeModelSort.
      109cda6b
  8. 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
  9. 18 Jul, 2001 2 commits
    • 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
    • Darin Adler's avatar
      Ignore the sgml directory made by gtkdoc. Use gtk_window_set_resizable · 03496763
      Darin Adler authored
      	* .cvsignore: Ignore the sgml directory made by gtkdoc.
      	* demos/pixbuf-demo.c: (main): Use gtk_window_set_resizable
      	instead of the deprecated gtk_window_set_policy.
      	* demos/testpixbuf-scale.c: Add missing <stdlib.h> include.
      	* gdk/gdkkeys.c: (gdk_keymap_class_init): Remove empty finalize
      	function to get rid of warning and some code too.
      	* gdk/x11/gdkfont-x11.c: (gdk_font_charset_for_locale): Add
      	missing const.
      	* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init_check): Remove
      	unused local.
      	* gdk/x11/gdkpango-x11.c: (gdk_pango_context_get): Add missing
      	const.
      	* gdk/x11/gdkselection-x11.c: (gdk_text_property_to_utf8_list),
      	(gdk_utf8_to_compound_text): Add missing const.
      	* gtk/gtkimage.c: (gtk_image_expose): Remove unused local.
      	* gtk/gtkmenubar.c: (gtk_menu_bar_hierarchy_changed): Add missing
      	cast and get rid of an unnecessary one.
      	* gtk/gtksettings.c: (gtk_settings_notify): Remove unused local.
      	* gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate): Remove unused
      	local.
      	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_build_level):
      	Remove unused local.
      	* modules/input/gtkimcontextxim.c: (gtk_im_context_xim_new): Add
      	missing const.
      	* tests/testsocket.c: (add_child): Add cast so the printf format
      	doesn't make us implicitly depend on what integer type
      	gtk_socket_get_id returns.
      	* tests/testtextbuffer.c: Add missing const.
      	* tests/testtreefocus.c: (main): Remove unused local.
      	* tests/treestoretest.c: (iter_remove): Remove unused local.
      	(uppercase_value): Remove unused function.
      	(make_window): Add statement to quiet the compiler's uninitialized
      	variable warning.
      03496763
  10. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      fixes to compile with G_DISABLE_COMPAT · 49c1e6dc
      Havoc Pennington authored
      2001-06-29  Havoc Pennington  <hp@redhat.com>
      
             * Throughout: fixes to compile with G_DISABLE_COMPAT
      	(s/g_signal_connectc/g_signal_connect/,
      	s/g_signal_newc/g_signal_new/,
      	s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
      49c1e6dc
  11. 26 Jun, 2001 1 commit
    • Jonathan Blandford's avatar
      fix stupid missing statement · 94f7d7e6
      Jonathan Blandford authored
      Tue Jun 26 12:59:28 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): fix
      	stupid missing statement
      
      	* gtk/gtktreeview.c (gtk_tree_view_set_destroy_count_func): New
      	private function for ATK.  It notifies you of how many _visible_
      	children are deleted when a node is deleted.  Should be used by
      	atk only.
      94f7d7e6
  12. 18 Jun, 2001 1 commit
  13. 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
  14. 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
  15. 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
  16. 24 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      make this somewhat key-navigable · 207e3bb9
      Havoc Pennington authored
      2001-03-23  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkhsv.c: make this somewhat key-navigable
      
      	* gtk/gtkfontsel.c: mnemonics
      
      	* gtk/gtkgamma.c: mnemonics
      
      	* gtk/gtkcolorsel.c: add mnemonics to labels
      
      2001-03-22  Havoc Pennington  <hp@pobox.com>
      
      	Applied big patch from Seth Lytle to fix event handler return
      	values, slightly modified.
      
      	* gtk/gtkcalendar.c (gtk_calendar_button_press): return TRUE if
      	handled.
      	(gtk_calendar_key_press): return TRUE for GDK_space triggers
      	select_day
      
      	* gtk/gtkclist.c (gtk_clist_button_press): return TRUE if handled
      	(gtk_clist_button_release): return TRUE if handled
      
      	* gtk/gtkcolorsel.c (mouse_release):
      	(palette_activate):
      	(palette_press):
      	(palette_new):
      	(mouse_press):
      	(get_screen_color):
      	fixed return type (void to gboolean), return TRUE,
      	added GTK_SIGNAL_FUNC cast
      
      	* gtk/gtkcombo.c (gtk_combo_popup_button_press): fixed return type
      	(void to gboolean), and return TRUE
      	(gtk_combo_button_release): changed return value to TRUE after
      	gtk_grab_add on combo->popwin
      
      	* gtk/gtkctree.c (gtk_ctree_button_press): return TRUE if triggers a
      	collapse or expand
      
      	* gtk/gtkcurve.c (gtk_curve_graph_events): return TRUE for
      	button/motion
      
      	* gtk/gtkdnd.c (gtk_drag_source_event_cb): return TRUE for button
      	press/release and motion that trigger act
      
      	* gtk/gtkentry.c (gtk_entry_button_release): return TRUE
      
      	* gtk/gtkfontsel.c (gtk_font_selection_size_key_press): return TRUE
      	for GDK_Return
      
      	* gtk/gtklist.c (gtk_list_button_press): return TRUE mostly
      	(gtk_list_button_release): return TRUE if selection
      
      	* gtk/gtklistitem.c (gtk_list_item_button_press): return TRUE on
      	press
      
      	* gtk/gtkmenushell.c (gtk_menu_shell_button_press):
      	(gtk_menu_shell_button_release): chain parent_menu_shell retval
      
      	* gtk/gtknotebook.c (gtk_notebook_button_press): return FALSE if
      	nothing triggered
      	(gtk_notebook_button_release): return TRUE if we do anything
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_button_press):
      	(gtk_spin_button_button_release): return TRUE or chained retval
      
      	* gtk/gtktext.c (gtk_text_button_press):
      	(gtk_text_button_release): return TRUE
      	(gtk_text_key_press): remove redundant retval code
      
      	* gtk/gtktreeitem.c (gtk_tree_item_button_press): return TRUE if button
      	and sensitive
      	(gtk_tree_item_subtree_button_click): changed type to gint, and return
      	TRUE if sensitive
      
      	* gtk/gtktooltips.c (gtk_tooltips_event_handler): deactivate implies
      	return TRUE
      207e3bb9
  17. 09 Mar, 2001 1 commit
    • Jonathan Blandford's avatar
      Actually unref the nodes. Fixes bug #50058. · 8401ea1a
      Jonathan Blandford authored
      Thu Mar  8 19:18:27 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): Actually
      	unref the nodes.   Fixes bug #50058.
      
      	* gtk/gtktreemodel.c (gtk_tree_model_ref_node): change
      	"::ref_iter" to "::ref_node".
      	(gtk_tree_model_unref_node): change "::unref_iter" to
      	"::unref_node". Fixes bug #50064.
      8401ea1a
  18. 08 Mar, 2001 1 commit
    • Tim Janik's avatar
      added accumulator data argument to g_signal_newc() functions. · 06718ecf
      Tim Janik authored
      Thu Mar  8 16:51:21 2001  Tim Janik  <timj@gtk.org>
      
              * *.c: added accumulator data argument to g_signal_newc()
              functions.
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model):
              * gtk/gtktreeview.c (gtk_tree_view_setup_model):
              * gtk/treestoretest.c (make_window):
              s/g_signal_connect/g_signal_connectc/.
      
              * gtk/gtktextbuffer.c: completed signal arg fixups,
              they also needed G_SIGNAL_TYPE_STATIC_SCOPE flag.
      06718ecf
  19. 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
  20. 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
  21. 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
  22. 16 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      add test stuff for CellRendererToggle · 8e8dd66a
      Havoc Pennington authored
      2001-01-15  Havoc Pennington  <hp@pobox.com>
      
      	* tests/testtreeview.c: add test stuff for CellRendererToggle
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_model): add this
      	accessor
      
      	* gtk/gtkcellrenderertoggle.c: distinguish different event types,
      	only toggle on button press (would do release like GtkButton, but
      	we'd need implicit grab code for treeview cells)
      8e8dd66a
  23. 09 Jan, 2001 1 commit
    • Owen Taylor's avatar
      Doc fixups. · a801ea7b
      Owen Taylor authored
      Tue Jan  9 11:20:48 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktreeview.[ch] gtktreemodelsort.[ch] gtknotebook.c
      	gdk/gdk-pixbuf.h: Doc fixups.
      
      	* gtk/gtkobject.h: Remove trailing , from enum
      a801ea7b
  24. 04 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      add this · ae89b1e1
      Havoc Pennington authored
      2001-01-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktreeselection.c (gtk_tree_selection_get_tree_view): add
      	this
      
      	* gtk/gtktreemodel.h (struct _GtkTreeIter): rename fields to
      	user_data instead of tree_node
      
      	* gtk/gtktreeprivate.h (TREE_VIEW_COLUMN_WIDTH): rename from
      	TREE_VIEW_COLUMN_SIZE
      
      	* gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): rename
      	"size" field to "width" finishes bug 40061
      
      	* gtk/gtkcellrenderer.h: Use GtkCellRendererState instead of guint
      	for bitfields, bug 40268
      ae89b1e1
  25. 01 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      Adapt to GtkTreeSelection changes · 66f87948
      Havoc Pennington authored
      2001-01-01  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktreeview.c: Adapt to GtkTreeSelection changes
      
      	* gtk/gtktreeselection.c (_gtk_tree_selection_set_tree_view):
      	don't fill in tree_view->priv->selection, kind of an unexpected
      	side effect
      
      	* gtk/gtkcellrenderertext.c: Remove definition of _ and include
      	gtkintl.h
      
      	* gtk/gtkcellrenderer.c: Remove definition of _ and include
      	gtkintl.h
      	(gtk_cell_renderer_get_property): remove calls to g_value_init
      
      	* gtk/gtkcellrendererpixbuf.c: Remove definition of _ and include
      	gtkintl.h
      
      	* gtk/gtkcellrenderertextpixbuf.c: Remove definition of _ macro
      	and include gtkintl.h
      	(gtk_cell_renderer_text_pixbuf_class_init): remove spaces from
      	property names
      
      	* gtk/gtktreeselection.c (_gtk_tree_selection_new): rename, return
      	GtkTreeSelection
      	(_gtk_tree_selection_new_from_with_view): rename, return
      	GtkTreeSelection
      	(_gtk_tree_selection_set_tree_view): rename with uscore
      	(gtk_tree_selection_get_selected): fill in the "model" out param
      	first, so it gets filled in even if we return at the top of the
      	function
      	(gtk_tree_selection_real_select_all): add a comment and an else{}
      	to clarify this a bit
      	(gtk_tree_selection_real_unselect_all): add the same else{}
      
      	* gtk/gtktreeselection.h: Rename new, new_with_tree_view, and
      	set_tree_view to have underscore prefixes, move them to the
      	private header, fix return type of new_with_tree_view
      	(struct _GtkTreeSelection): mark struct
      	fields private
      
      	* gtk/gtktreemodel.c (gtk_tree_model_get_flags): return
      	GtkTreeModelFlags, not a guint
      	(gtk_tree_path_prev): return gboolean not gint
      	(gtk_tree_path_up): return gboolean not gint
      
      	* gtk/gtktreemodel.h (struct _GtkTreeModelIface): make get_flags
      	return GtkTreeModelFlags, not a guint
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_finalize): check
      	that child model is non-null before unrefing it
      	(g_value_int_compare_func): make this a qsort compare func, not
      	a boolean predicate
      
      	* gtk/gtktreemodelsort.h: rename gtk_tree_model_set_sort_column,
      	(add -umn to the end), and mark it unimplemented
      	(gtk_tree_model_sort_resort): remove, this wasn't implemented, and
      	I don't see what it's for - doesn't the model always sort itself?
      	(gtk_tree_model_sort_set_compare): this had the wrong signature
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_attributes):
      	Fix the docs to say that it destructively replaces existing
      	attributes (previously said that it added attributes).
      	(gtk_tree_view_column_set_visible): canonicalize bool before
      	equality testing. Also, check for realization before
      	hiding/showing the tree_column->window; if this window could exist
      	before realization, then it's busted and needs fixing, we can't
      	create GDK resources pre-realization. Also, remove
      	superfluous queue_resize(), since set_size() does that for us.
      	(gtk_tree_view_column_set_col_type): check realization before
      	using tree_column->window
      
      	* gtk/gtktreedatalist.c: fix filename in copyright notice
      66f87948
  26. 21 Dec, 2000 1 commit
    • Jonathan Blandford's avatar
      :get_property): remove g_value_init calls, as they are no longer needed. · dadf966b
      Jonathan Blandford authored
      2000-12-20  Jonathan Blandford  <jrb@redhat.com>
      
      	    * gtk/gtkcellrenderer*.c (::get_property): remove
                    g_value_init
      	      calls, as they are no longer needed.
      
      	      * gtk/gtktreemodelsort.c: Fix up the comparison code.
      
      	      * gtk/gtktreemodel.h: Start work on ::reordered signal.
      	      Need to
      	      figure out how to emit a signal on an interface.
      dadf966b
  27. 20 Dec, 2000 1 commit
  28. 13 Dec, 2000 1 commit
    • Tim Janik's avatar
      doh, this was broken beyond believe. · 2c9eb3a5
      Tim Janik authored
      Tue Dec 12 23:46:44 2000  Tim Janik  <timj@gtk.org>
      
      	* gtk/stock-icons/Makefile.am: doh, this was broken beyond believe.
      
      	* gtk/gtkbox.c: change property types from (u)long to (u)int for
      	::position and ::padding.
      
      	* gtk/gtkcontainer.c: make ::border_width an INT property.
      
      	* gtk/gtkpacker.c: make ::position an INT property.
      
      	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_adjustment_changed):
      	guard against NULL h/v scrollbars, since this is used at construction
      	time.
      
      	* gtk/gtkclist.[hc]: nuked gtk_clist_construct(), implemented
      	internal gtk_clist_constructor().
      
      	* gtk/gtkctree.[hc]: nuked gtk_ctree_construct(), implemented
      	gtk_ctree_constructor().
      
      	* gtk/gtkprogressbar.c (gtk_progress_bar_class_init): property
      	::pulse_step should use ARG_PULSE_STEP, not ARG_FRACTION.
      
      	* docs/reference/Makefile.am: fun stuff, disabled docs generation
      	again, gtk-scan.c needs to introspec paramspecs, not GtkAgs.
      
      	* gtk/gtkwidget.[hc]:
      	removed gtk_widget_setv(), gtk_widget_getv(), gtk_widget_newv()
      	and gtk_widget_get().
      	(gtk_widget_new): use g_object_new_valist().
      	(gtk_widget_set): use g_object_set_valist().
      
      	* gtk/gtkobject.[hc]:
      	removed gtk_object_arg_get_info(), gtk_object_getv(),
      	gtk_object_query_args(), gtk_object_newv(),
      	gtk_object_class_add_signals(),
      	gtk_object_class_user_signal_new(),
      	gtk_object_class_user_signal_newv(),
      	gtk_object_arg_set(), gtk_object_arg_get(),
      	gtk_object_args_collect(),
      	gtk_object_default_construct(),
      	gtk_object_constructed(),
      	GTK_CONSTRUCTED and GTK_OBJECT_CONSTRUCTED().
      	removed nsignals, signals and n_args members from GtkObjectClass.
      	(gtk_object_new): use g_object_new_valist().
      	(gtk_object_set): use g_object_set_valist().
      	(gtk_object_get): use g_object_get_valist().
      
      	* gtk/gtkcompat.h: define gtk_object_default_construct().
      
      	* gtk/gtktypeutils.c (gtk_type_new): create constructed objects via
      	g_object_new().
      
      	* gtk/*.c: removed gtk_object_class_add_signals() from class_init()
      	fucntions, cleaned up method assignments (make sure your structures
      	are setup properly before calling out). removed all GTK_CONSTRUCTED
      	hacks ;)
      2c9eb3a5
  29. 22 Nov, 2000 1 commit
  30. 21 Nov, 2000 1 commit
  31. 13 Nov, 2000 1 commit
    • Jonathan Blandford's avatar
      confirm path != NULL ditto · fbd9c79f
      Jonathan Blandford authored
      Mon Nov 13 14:29:32 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_path_copy): confirm path != NULL
      	* gtk/gtktreemodel.c (gtk_tree_path_free): ditto
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_insert_value): make
      	work better.
      fbd9c79f
  32. 11 Nov, 2000 1 commit
  33. 10 Nov, 2000 1 commit
    • Jonathan Blandford's avatar
      use the new BOXED marshallers. · f8faec45
      Jonathan Blandford authored
      Fri Nov 10 12:10:34 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_model_simple_class_init): use the new
      	BOXED marshallers.
      
      	* gtk/gtkliststore.c (gtk_list_store_get_column_type): Add this.
      	(gtk_list_store_class_init): use the new BOXED marshallers.
      
      	* gtk/gtktreestore.c (gtk_tree_store_new_with_types): change
      	new_with_values to new_with_types.
      	(gtk_tree_store_get_column_type): add this.
      	(gtk_tree_store_class_init): use the new BOXED marshallers.
      
      	* gtk/gtkmarshal.list: Added a number of BOXED marshallers to
      	mirror some POINTER marshallers.
      f8faec45
  34. 09 Nov, 2000 1 commit
    • Jonathan Blandford's avatar
      added more fields to allow more interesting iterators. Also, made the · c97d57eb
      Jonathan Blandford authored
      Thu Nov  9 11:23:22 2000  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.h (struct _GtkTreeIter): added more fields to
      	allow more interesting iterators.  Also, made the lifecycle of
      	iterators more explicit.
      
      	* gtk/gtktreemodelsort.[ch]: New model for sorting.
      
      	* gtk/gtk-boxed.defs (GtkTreeIter, GtkTreePath): Added two boxed
      	types.
      c97d57eb