1. 28 Feb, 2016 1 commit
  2. 27 Feb, 2012 1 commit
  3. 02 Nov, 2011 1 commit
  4. 15 Oct, 2011 1 commit
  5. 18 Aug, 2011 1 commit
  6. 10 Jul, 2010 1 commit
  7. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  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. 09 Mar, 2007 1 commit
  10. 08 Oct, 2006 1 commit
  11. 29 Dec, 2005 1 commit
    • Matthias Clasen's avatar
      Use the slice allocater for GtkTreeDataSortHeader. · 4cb44fcc
      Matthias Clasen authored
      2005-12-29  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreedatalist.c: Use the slice allocater for
      	GtkTreeDataSortHeader.
      
      	* gtk/gtktreedatalist.h:
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_set_header): New function.
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func):
      	* gtk/gtkliststore.c (gtk_list_store_set_sort_func):
      	* gtk/gtktreestore.c (gtk_tree_store_set_sort_func): Use it here.
      4cb44fcc
  12. 05 Dec, 2005 1 commit
    • Matthias Clasen's avatar
      Use g_slice instead of mem chunks. · 7dc70fba
      Matthias Clasen authored
      2005-12-05  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.c:
      	* gtk/gtkuimanager.c:
      	* gtk/gtktreedatalist.c:
      	* gtk/gtktext.c:
      	* gtk/gtkmain.c:
      	* gtk/gtkitemfactory.c:
      	* gtk/gtkseparator.[hc]:
      	* gtk/gtkclist.[hc]:
      	* gtk/gtkctree.c:
      	* gtk/gtkgc.c: Use g_slice instead of mem chunks.
      7dc70fba
  13. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  14. 01 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      gdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.c · 6da29b43
      Matthias Clasen authored
      2005-03-01  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkkeyuni.c
      	* gdk/gdkpixbuf-drawable.c
      	* gdk/gdkrgb.c
      	* gdk/x11/gdkdnd-x11.c
      	* gdk/x11/gdkevents-x11.c
      	* gdk/x11/gdkproperty-x11.c
      	* gdk/x11/gdkvisual-x11.c
      	* gdk-pixbuf/gdk-pixbuf.c
      	* gtk/gtkaction.c
      	* gtk/gtkbindings.c
      	* gtk/gtkcolorbutton.c
      	* gtk/gtkcombo.c
      	* gtk/gtkcontainer.c
      	* gtk/gtkfilechooserdefault.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkgamma.c
      	* gtk/gtkiconview.c
      	* gtk/gtkinputdialog.c
      	* gtk/gtkitemfactory.c
      	* gtk/gtkmenu.c
      	* gtk/gtktextview.c
      	* gtk/gtktooltips.c
      	* gtk/gtktreedatalist.c
      	* gtk/gtkuimanager.c
      	* gtk/tree_minus.xpm
      	* gtk/tree_plus.xpm
      	* gtk/xdgmime/xdgmime.c
      	* gtk/xdgmime/xdgmime.h:
      	Move constant data to .rodata.
      6da29b43
  15. 08 Nov, 2004 1 commit
  16. 11 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Underscore-prefix gtk_tree_data_list_compare_func. · e9c126db
      Matthias Clasen authored
      2004-08-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreedatalist.[hc]:
      	* gtk/gtkliststore.c:
      	* gtk/gtktreestore.c: Underscore-prefix gtk_tree_data_list_compare_func.
      
      	* gtk/gtk.symbols: Remove gtk_tree_data_list_compare_func.
      
      	* gtk/makegtkalias.pl: No need to include gtktreedatalist.h any more.
      e9c126db
  17. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  18. 06 Mar, 2004 1 commit
  19. 20 Nov, 2003 1 commit
  20. 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
  21. 27 May, 2002 1 commit
    • Daniel Elstner's avatar
      [ merge from stable ] · 810e4880
      Daniel Elstner authored
      2002-05-27  Daniel Elstner  <daniel.elstner@gmx.net>
      
      [ merge from stable ]
      
      Fixes for #83190
      
      * gtk/gtktreedatalist.h (_GtkTreeDataList::data): Add missing fields to anonymous union: glong, gulong, gint64 and guint64.  This is an internal header file, so it should not affect ABI or API compatibility.
      
      * gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value): Implement missing support for glong, gulong, gint64 and guint64 fundamental types.  Use data.v_uint instead of data.v_int for G_TYPE_FLAGS, as GValue does.
      (_gtk_tree_data_list_value_to_node): ditto
      (_gtk_tree_data_list_node_copy): Add case labels for missing fundamental types, and reorder them to match the other functions.
      (gtk_tree_data_list_compare_func): Implement comparison for glong, gulong, gint64 and guint64.  Use g_value_get_enum() for G_TYPE_ENUM and g_value_get_flags() for G_TYPE_FLAGS, rather than accessing them as gint/guint.  The G_VALUE_HOLDS() check probably won't like this.
      810e4880
  22. 09 Apr, 2002 1 commit
    • Kristian Rietveld's avatar
      Fixes #78110 · 64e33eb6
      Kristian Rietveld authored
      Tue Apr  9 21:41:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              Fixes #78110
      
              * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
              add override_browse_mode argument and implement,
              (gtk_tree_selection_unselect_path): always unselect the path,
              (toplevel): update uses of _gtk_tree_selection_internal_select_node
      
              * gtk/gtktreeview.c: update uses of
              _gtk_tree_selection_internal_select_node
      
              * gtk/gtktreeprivate.h (_gtk_tree_selection_internal_select_node):
              update prototype
      
      Tue Apr  9 21:39:44 2002  Kristian Rietveld  <kris@gtk.org>
      
              Fixes #77862
      
              * gtk/gtktreeprivate.h: add _gtk_tree_view_column_has_editable_cell
      
              * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_has_editable_cell):
              new function
      
              * gtk/gtktreeview.c (gtk_tree_view_button_press): send cell event
              on first click when cell isn't editable
      
      Tue Apr  9 21:37:31 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreedatalist.c (_gtk_tree_data_list_check_type): add some
              types which were missing and useful to use (fixes #77870)
      64e33eb6
  23. 03 Mar, 2002 1 commit
    • Tim Janik's avatar
      added compile time switch to put the tree views into a hpaned for owen to · f0b58ab8
      Tim Janik authored
      Sun Mar  3 06:39:19 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkfilesel.c: added compile time switch to put the tree views
              into a hpaned for owen to play with.
      
              * gtk/gtktreedatalist.c (_gtk_tree_data_list_header_free):
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func),
              (gtk_tree_view_column_finalize):
              * gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func),
              (gtk_tree_store_set_sort_func), (gtk_tree_store_finalize):
              * gtk/gtktreeselection.c (gtk_tree_selection_finalize):
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func),
              (gtk_tree_model_sort_set_default_sort_func),
              (gtk_tree_model_sort_set_sort_func):
              * gtk/gtkliststore.c (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_sort_func), (gtk_list_store_finalize):
              add reentrancy protection around destroy() function invocation.
      
              * gtk/gtktreeselection.c (gtk_tree_selection_set_select_function): fix
              destroy function invocation (which was missing).
      f0b58ab8
  24. 08 Jan, 2002 1 commit
  25. 03 Dec, 2001 1 commit
    • Kristian Rietveld's avatar
      if we use pointers, we should free the previous pointer first (if it · 5a2ebedc
      Kristian Rietveld authored
      Mon Dec  3 21:15:59 2001  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreedatalist.c (_gtk_tree_data_list_value_to_node): if
              we use pointers, we should free the previous pointer first (if
              it exists), before we set a new pointer. (#64726)
      
              * gtk/gtktreeprivate.h: get rid of cursor_drag
      
              * gtk/gtktreeview.c (gtk_tree_view_unrealize): remove check
              for cursor_drag
              (gtk_tree_view_bin_expose): don't directly return in the while
              loop
              (gtk_tree_view_class_init): indentend expanders by default
              (gtk_tree_view_header_focus): only give the button focus
              if it's clickable, visible and the column is reorderable
              (#65539)
      
              * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
              create and free cursor
      5a2ebedc
  26. 15 Nov, 2001 1 commit
  27. 31 Oct, 2001 1 commit
  28. 23 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Remove G_DISABLE_CONST_RETURNS. · 4e32ede2
      Owen Taylor authored
      Tue Oct 23 11:53:00 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am (INCLUDES): Remove G_DISABLE_CONST_RETURNS.
      
      	* gtk/gtkfontsel.[ch]: Make gtk_font_selection_get_font()
      	G_CONST_RETURN. (Murray Cumming)
      
      	* gtk/gtkfontsel.c (gtk_font_selection_dialog_get_preview_text):
      	Make G_CONST_RETURN.
      
      	* gtk/gtkfilesel.c (open_user_dir): Fix bug with freeing
      	results of g_get_home_dir().
      
      	* gtk/gtkfilesel.c: Make filesel->fileop_file a duplicated
      	copy. Storing the return from gtk_entry_get_text() is evil.
      
      	* gtk/gtkcombo.c gtk/gtkcellrenderertext.c gtk/gtkbindings.c
      	gtk/gtkfilesel.c gtk/gtkfontsel.c gtk/gtkimmodule.c
      	gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtktreedatalist.c
      	gtk/gtksignal.c: Add const.
      
      	* gdk/x11/gdkkeys-x11.c (get_direction): Add missing const.
      
      	* gtk/gtktreeview.c: Namespace object data keys to be safe, even
      	if we are setting them on private widgets.
      
      	* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
      	Duplicate entry->text before setting it as object data.
      4e32ede2
  29. 01 Oct, 2001 1 commit
    • Jonathan Blandford's avatar
      change scroll_to_cell delayed code to happen in size_allocate. · 58ed9e8b
      Jonathan Blandford authored
      Mon Oct  1 14:07:02 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): change
      	scroll_to_cell delayed code to happen in size_allocate.
      
      	* gtk/gtkstyle.c (gtk_default_draw_expander): change
      	prelight/normal arrow drawing.
      
      	* gtk/gtktreedatalist.c: Change compare func to use g_utf8_collate
      
      	* gtk/gtktreestore.c: refactor.
      58ed9e8b
  30. 23 Apr, 2001 1 commit
    • Jonathan Blandford's avatar
      add missing '}' that got munched by #endif. · 60051ff6
      Jonathan Blandford authored
      Mon Apr 23 18:57:03 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtksocket.c (gtk_socket_filter_func): add missing '}' that
      	got munched by #endif.
      
      	* gtk/Makefile.am (gtk_plug_c_sources): add missing '\'
      
      	* gtk/gtktreeview.c: Refactored code to clean up a number of
      	events.
      
      	* gtk/gtktreemodel.c (gtk_tree_path_compare): Switched return
      	values to make consistent with other functions.  Spotted by Jeff
      	Franks <jcf@tpg.com.au>.
      
      	* gtk/gtktreeview.h (struct _GtkTreeViewClass): Fixes to signal
      	declaration spotted by Jeff Franks <jcf@tpg.com.au>.
      60051ff6
  31. 01 Apr, 2001 1 commit
  32. 28 Mar, 2001 1 commit
  33. 23 Mar, 2001 1 commit
    • 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
  34. 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
  35. 10 Mar, 2001 1 commit
    • 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
  36. 07 Mar, 2001 1 commit
    • Tim Janik's avatar
      marshaller fixes. · 35af5c4e
      Tim Janik authored
      Wed Mar  7 13:24:57 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/*.c: marshaller fixes.
      
              * gtk/gtkmarshal.list: extreme cleanup.
      
              * gtk/gtktreeview.c (gtk_tree_view_class_init): disable interface
              param spec for now.
      
              * gtk/gtktexttag.c (gtk_text_tag_set_property): use g_value_get_boxed()
              where appliable.
      
              * gtk/gtktypeutils.[hc]: updates to GLib API changes.
              special cased autogenerated boxed types from gtktypebuiltins_ids.c
              which are not reference counted:
              GtkSelectionData, GdkEvent, GdkColor, GtkTextIter, PangoTabArray,
              PangoFontDescription, GtkTreeIter and GtkTreePath.
      
      Thu Mar  1 03:58:56 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktreeselection.h:
              * gtk/gtktreemodel.c:
              * gtk/gtktreedatalist.[hc]: fixed includes. no gobject/*
              file should be included directly, and gobject/gmarshal.h
              as well as gtk/gtkmarshal.h even can't be included directly.
      
              * Makefile.am: grr, install gtk-config-2.0.
      
              * gtk/testgtk.c:
              * gtk/simple.c:
              * gtk/gtkmenu.c:
              * gtk/gtkitemfactory.c: use g_object_connect() instead of
              passing "*signal*::*" args to gtk_widget_set().
      
              * gtk/gtktypeutils.[hc]: got rid of GTK_TYPE_SIGNAL.
      
              * gtk/*.c: removed trailer arg from property setters and getters.
              macro fixups.
      
      Thu Mar  1 04:01:57 2001  Tim Janik  <timj@gtk.org>
      
              * test-gdk-pixbuf.c: fixed includes.
      35af5c4e
  37. 19 Feb, 2001 1 commit
  38. 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
  39. 26 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      adapt to handle PangoColor · ef4356b5
      Havoc Pennington authored
      2001-01-26  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextlayout.c (convert_color): adapt to handle PangoColor
      
      	* gtk/gtktreeview.c (gtk_tree_view_widget_to_tree_coords): fix to
      	not offset by TREE_VIEW_HEADER_HEIGHT
      	(gtk_tree_view_tree_to_widget_coords): fix to not offset by
      	TREE_VIEW_HEADER_HEIGHT
      
      	* configure.in (included_loaders): for me, --with-included-loaders
      	generates the error "the specified loader yes does not exist",
      	i.e. the arg defaults to "yes", so change test for value ""
      	to test for value "yes", and include all loaders in that case.
      
      	* gtk/gtkrbtree.c (_gtk_rbtree_get_depth): new function
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_cell_rect): fix to properly
      	handle TREE_VIEW_VERTICAL_SEPARATOR
      	(gtk_tree_view_bin_expose): fix to consider the row offset as
      	pointing halfway into vertical separator.
      	(gtk_tree_view_draw_node_focus_rect): ditto
      
      	* gtk/gtkdebug.h, gtk/gtkmain.c (gtk_init_check): Add
      	--gtk-debug=updates, which causes gdk_window_set_debug_updates
      	(TRUE) to be called.
      
      	* gdk/gdkwindow.c (gdk_window_set_debug_updates): Allow enabling a
      	debug mode where the invalid region is colored in on invalidate,
      	so you can see the flicker and know whether your redraw code is
      	doing a good job.
      
      	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_node): Work in
      	tree window coordinates (clip rect is in tree window coords)
      
      	* gtk/Makefile.am: add gtktreednd.[hc]
      
      	* gtk/gtkliststore.c: implement gtktreednd interfaces.
      
      	* gtk/gtktreednd.c, gtk/gtktreednd.h: New interface to support
      	drag-and-drop data operations on a model (so we can set up tree
      	drag-and-drop automatically)
      
      	* gtk/testgtk.c: Add a window to change sensitivity in the
      	GtkLabel test; add a way to change the entry frame in GtkEntry
      	test
      
      	* gtk/gtkentry.c (gtk_entry_set_has_frame):
      	(gtk_entry_get_has_frame): new functions to remove the frame
      	around an entry
      	(gtk_entry_size_request): shrink requisition if no frame
      	(gtk_entry_draw_focus): don't draw frame if no frame
      
      	* gtk/gtkstyle.c (gtk_default_draw_check): draw custom look for
      	checks inside a cell renderer
      	(gtk_default_draw_option): ditto for options
      
      	* gtk/gtktreeviewcolumn.c (update_button_contents): add/remove
      	children from the alignment, not the button
      	(gtk_tree_view_column_init): ref/sink the column, to emulate
      	GObject refcounting.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_init): ref/sink
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	Use theme functions to draw the toggles
      
      	* gdk/gdkpango.c (gdk_pango_get_gc): use GdkRGB to alloc colors
      
      	* gdk/gdkpango.h, gdk/gdkpango.c: Add GdkPangoAttrStipple and
      	GdkPangoAttrEmbossed to use in rendering insensitive text
      
      	* gdk/gdkpango.c (gdk_draw_layout_line): render new properties
      
      	* gtk/gtkstyle.c (gtk_default_draw_layout): handle sensitivity
      	using new GDK features
      ef4356b5
  40. 09 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      handle case where there are no rows in the model · 637c61da
      Havoc Pennington authored
      2001-01-09  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_check_dirty): handle case where
      	there are no rows in the model
      
      	* gtk/gtkliststore.c (gtk_list_store_iter_children): if parent is
      	NULL, then return the start of the list
      
      	* gtk/gtktreeview.c (gtk_tree_view_setup_model): don't build tree
      	if we can't get any rows from an empty model
      
      	* gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): remove
      	extraneous * after function pointer typedef usage
      
      	* Makefile.am: don't specify full path to cp and rm
      
      	* gtk/gtkcellrenderertextpixbuf.c
      	(gtk_cell_renderer_text_pixbuf_get_size): check width/height !=
      	NULL before dereferencing, fixes a segfault that happened from
      	time to time
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
      	use gdk_pixbuf_render_to_drawable_alpha() to get alpha channel,
      	and reindent the function
      	(gtk_cell_renderer_pixbuf_get_size): indentation
      
      	* gtk/gtkdialog.c (gtk_dialog_run): destroy main loop only after
      	we quit it
      	(gtk_dialog_add_buttons_valist): add g_return_if_fail
      	(gtk_dialog_set_default_response): New function, to set default
      	button
      	(gtk_dialog_set_response_sensitive): New function, to set
      	sensitivity of buttons
      
      	* gtk/gtkcellrendererpixbuf.c
      	(gtk_cell_renderer_pixbuf_get_property): allow getting a NULL pixbuf
      	(gtk_cell_renderer_pixbuf_set_property): allow setting a NULL pixbuf
      
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_node_to_value):
      	handle any G_TYPE_OBJECT subclass, not just the base class, and
      	also boxed types.
      	(_gtk_tree_data_list_value_to_node): ditto
      
      	* gtk/gtkrbtree.c: Run _gtk_rbtree_test at strategic points if
      	--gtk-debug=tree
      
      	* gtk/gtkmain.c: add GTK_DEBUG_TREE
      
      	* gtk/gtkdebug.h: add GTK_DEBUG_TREE
      637c61da