1. 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
  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. 06 Jan, 2008 1 commit
    • Johan Dahlin's avatar
      Remove an unused variable · 8568de81
      Johan Dahlin authored
      
      	* gtk/gtktreestore.c (tree_model_end_element): 
      	Remove an unused variable
      
      
      svn path=/trunk/; revision=19314
      8568de81
  4. 25 Nov, 2007 1 commit
    • Matthias Clasen's avatar
      Require gtk-doc 1.8 · 4896e24b
      Matthias Clasen authored
      2007-11-25  Matthias Clasen  <mclasen@redhat.com>
      
              * configure.in: Require gtk-doc 1.8
      
              * */*.c: Use gtk-doc abbreviations for examples in docs.
      
      
      svn path=/trunk/; revision=19041
      4896e24b
  5. 19 Nov, 2007 1 commit
  6. 15 Jun, 2007 1 commit
    • Johan Dahlin's avatar
      Add GtkBuilder, fixes #172535 · 4d638bf0
      Johan Dahlin authored
      2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
      
          * demos/gtk-demo/Makefile.am:
          * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
          (do_builder):
          * demos/gtk-demo/demo.ui:
          * docs/reference/gtk/gtk-docs.sgml:
          * docs/reference/gtk/gtk-sections.txt:
          * docs/reference/gtk/gtk.types:
          * docs/reference/gtk/tmpl/gtkbuildable.sgml:
          * docs/reference/gtk/tmpl/gtkbuilder.sgml:
          * gtk/Makefile.am:
          * gtk/gtk.h:
          * gtk/gtk.symbols:
          * gtk/gtkaction.c: (gtk_action_buildable_init),
          (gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
          * gtk/gtkactiongroup.c: (gtk_action_group_get_type),
          (gtk_action_group_buildable_init),
          (gtk_action_group_buildable_add),
          (gtk_action_group_buildable_set_name),
          (gtk_action_group_buildable_get_name):
          * gtk/gtkbuildable.c: (gtk_buildable_get_type),
          (gtk_buildable_set_name), (gtk_buildable_get_name),
          (gtk_buildable_add), (gtk_buildable_set_property),
          (gtk_buildable_parser_finished), (gtk_buildable_construct_child),
          (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
          (gtk_buildable_custom_finished),
          (gtk_buildable_get_internal_child):
          * gtk/gtkbuildable.h:
          * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
          (gtk_builder_finalize), (gtk_builder_set_property),
          (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
          (gtk_builder_real_get_type_from_name),
          (gtk_builder_get_parameters), (gtk_builder_get_internal_child),
          (_gtk_builder_construct), (_gtk_builder_add),
          (apply_delayed_properties), (_gtk_builder_finish),
          (gtk_builder_new), (gtk_builder_add_from_file),
          (gtk_builder_add_from_string), (gtk_builder_get_object),
          (object_add_to_list), (gtk_builder_get_objects),
          (gtk_builder_set_translation_domain),
          (gtk_builder_get_translation_domain),
          (gtk_builder_connect_signals_default),
          (gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
          (gtk_builder_value_from_string),
          (gtk_builder_value_from_string_type),
          (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
          (gtk_builder_get_type_from_name), (gtk_builder_error_quark):
          * gtk/gtkbuilder.h:
          * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
          (error_missing_attribute), (error_invalid_attribute),
          (error_invalid_tag), (builder_construct), (parse_object),
          (free_object_info), (_get_type_by_symbol), (parse_child),
          (free_child_info), (parse_property), (free_property_info),
          (parse_signal), (_free_signal_info), (parse_interface),
          (create_subparser), (free_subparser), (subparser_start),
          (subparser_end), (parse_custom), (start_element), (end_element),
          (text), (_gtk_builder_parser_parse_buffer):
          * gtk/gtkbuilderprivate.h:
          * gtk/gtkcelllayout.c: (attributes_start_element),
          (attributes_text_element),
          (_gtk_cell_layout_buildable_custom_tag_start),
          (_gtk_cell_layout_buildable_custom_tag_end),
          (_gtk_cell_layout_buildable_add):
          * gtk/gtkcelllayout.h:
          * gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
          (gtk_cell_view_buildable_custom_tag_start),
          (gtk_cell_view_buildable_custom_tag_end):
          * gtk/gtkcolorseldialog.c:
          (gtk_color_selection_dialog_buildable_interface_init),
          (gtk_color_selection_dialog_buildable_get_internal_child):
          * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
          (gtk_combo_box_buildable_custom_tag_start),
          (gtk_combo_box_buildable_custom_tag_end):
          * gtk/gtkcomboboxentry.c:
          (gtk_combo_box_entry_buildable_interface_init),
          (gtk_combo_box_entry_buildable_get_internal_child):
          * gtk/gtkcontainer.c: (gtk_container_get_type),
          (gtk_container_buildable_init), (gtk_container_buildable_add),
          (gtk_container_buildable_set_child_property),
          (attributes_start_element), (attributes_text_element),
          (gtk_container_buildable_custom_tag_start),
          (gtk_container_buildable_custom_tag_end):
          * gtk/gtkdebug.h:
          * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
          (gtk_dialog_buildable_get_internal_child),
          (attributes_start_element), (attributes_text_element),
          (gtk_dialog_buildable_custom_tag_start),
          (gtk_dialog_buildable_custom_finished):
          * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
          * gtk/gtkexpander.c: (gtk_expander_buildable_add),
          (gtk_expander_buildable_init):
          * gtk/gtkfontsel.c:
          (gtk_font_selection_dialog_buildable_interface_init),
          (gtk_font_selection_dialog_buildable_get_internal_child):
          * gtk/gtkframe.c: (gtk_frame_buildable_init),
          (gtk_frame_buildable_add):
          * gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
          (gtk_icon_view_buildable_custom_tag_start),
          (gtk_icon_view_buildable_custom_tag_end):
          * gtk/gtkliststore.c: (gtk_list_store_buildable_init),
          (list_store_start_element), (list_store_end_element),
          (list_store_text), (gtk_list_store_buildable_custom_tag_start),
          (gtk_list_store_buildable_custom_tag_end):
          * gtk/gtkmain.c:
          * gtk/gtknotebook.c: (gtk_notebook_buildable_init),
          (gtk_notebook_buildable_add):
          * gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
          (size_group_start_element),
          (gtk_size_group_buildable_custom_tag_start),
          (gtk_size_group_buildable_custom_finished):
          * gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
          (tree_model_start_element),
          (gtk_tree_store_buildable_custom_tag_start),
          (gtk_tree_store_buildable_custom_finished):
          * gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
          (gtk_tree_view_buildable_add):
          * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
          * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
          (gtk_ui_manager_buildable_add),
          (gtk_ui_manager_buildable_construct_child),
          (gtk_ui_manager_buildable_custom_tag_start),
          (gtk_ui_manager_buildable_custom_tag_end):
          * gtk/gtkwidget.c: (gtk_widget_get_type),
          (gtk_widget_buildable_interface_init),
          (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
          (gtk_widget_buildable_set_property),
          (gtk_widget_buildable_parser_finshed), (accel_group_start_element),
          (gtk_widget_buildable_custom_tag_start),
          (gtk_widget_buildable_custom_finshed):
          * gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
          (gtk_window_buildable_set_property),
          (gtk_window_buildable_parser_finished):
          * tests/Makefile.am:
          * tests/buildertest.c: (builder_new_from_string), (test_parser),
          (signal_normal), (signal_after), (signal_object),
          (signal_object_after), (signal_first), (signal_second),
          (signal_extra), (signal_extra2), (test_connect_signals),
          (test_uimanager_simple), (test_domain), (test_translation),
          (test_sizegroup), (test_list_store), (test_tree_store),
          (test_types), (test_spin_button), (test_notebook),
          (test_construct_only_property), (test_children),
          (test_child_properties), (test_treeview_column), (test_icon_view),
          (test_combo_box), (test_combo_box_entry), (test_cell_view),
          (test_dialog), (test_accelerators), (test_widget), (main):
      
          Add GtkBuilder, fixes #172535
      
      
      svn path=/trunk/; revision=18141
      4d638bf0
  7. 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
  8. 28 Apr, 2007 1 commit
  9. 06 Jul, 2006 1 commit
  10. 26 Jun, 2006 1 commit
    • Kristian Rietveld's avatar
      Make the insert and set functions somewhat more convenient. (#343841, · cc7f4fde
      Kristian Rietveld authored
      2006-06-26  Kristian Rietveld  <kris@gtk.org>
      
      	Make the insert and set functions somewhat more convenient.
      	(#343841, David Necas).
      
      	* gtk/gtkliststore.c (gtk_list_store_insert_with_values): allow
      	a NULL iter,
      	(gtk_list_store_insert_with_valuesv): likewise.
      
      	* gtk/gtktreestore.c (gtk_tree_store_insert_with_values): ditto,
      	(gtk_tree_store_insert_with_valuesv): likewise.
      cc7f4fde
  11. 27 May, 2006 1 commit
    • Kristian Rietveld's avatar
      Small refactoring. (#340428, Paolo Borelli). · e7b5cdb8
      Kristian Rietveld authored
      2006-05-27  Kristian Rietveld  <kris@gtk.org>
      
      	Small refactoring. (#340428, Paolo Borelli).
      
      	* gtk/gtkliststore.c (gtk_list_store_set_valist_internal),
      	(gtk_list_store_insert_with_valuesv): refactor code to determine
      	iter compare func into gtk_list_store_get_compare_func().
      
      	* gtk/gtktreestore.c (gtk_tree_store_set_valist_internal),
      	(gtk_tree_store_insert_with_valuesv): likewise.
      e7b5cdb8
  12. 14 May, 2006 1 commit
  13. 02 May, 2006 1 commit
  14. 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
  15. 30 Dec, 2005 1 commit
  16. 29 Dec, 2005 2 commits
    • Matthias Clasen's avatar
      Remove excessive g_return_if_fail() checks in static functions. · 9035ad5b
      Matthias Clasen authored
      2005-12-29  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkliststore.c:
      	* gtk/gtktreestore.c: Remove excessive g_return_if_fail() checks
      	in static functions.
      9035ad5b
    • 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
  17. 15 Nov, 2005 1 commit
  18. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  19. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  20. 11 Aug, 2005 1 commit
    • Kristian Rietveld's avatar
      Fix for #312924, by John Finlay. · 1f56c13d
      Kristian Rietveld authored
      2005-08-11  Kristian Rietveld  <kris@gtk.org>
      
      	Fix for #312924, by John Finlay.
      
      	* gtk/gtkliststore.c (gtk_list_store_increment_stamp),
      	(gtk_list_store_clear): increment stamp on store clearance.
      
      	* gtk/gtktreestore.c (gtk_tree_store_increment_stamp),
      	(gtk_tree_store_clear): ditto.
      1f56c13d
  21. 09 Jul, 2005 1 commit
    • Kristian Rietveld's avatar
      Fix #305737, patch from Tomislav Jonjic. This makes the · 7039dc61
      Kristian Rietveld authored
      2005-07-09  Kristian Rietveld  <kris@gtk.org>
      
      	Fix #305737, patch from Tomislav Jonjic. This makes the
      	gtk_tree_store_insert* family of functions emit row_has_child_toggled
      	when needed (they didn't do that before).
      
      	* gtk/gtktreestore.c (gtk_tree_store_insert): emit
      	row_has_child_toggled when needed,
      	(gtk_tree_store_insert_before): fix a possible memleak,
      	emit row_has_child_toggled when needed,
      	(gtk_tree_store_insert_after): ditto.
      7039dc61
  22. 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
  23. 30 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Update the documentation to specify a more useful behaviour, which can be · 35a3099e
      Matthias Clasen authored
      2004-11-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreesortable.c (gtk_tree_sortable_get_sort_column_id): Update
      	the documentation to specify a more useful behaviour, which can be
      	implemented with the multiple special values we have now.  (#159984,
      	Nicholas Rahn)
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_sort_column_id):
      	* gtk/gtktreestore.c (gtk_tree_store_get_sort_column_id):
      	* gtk/gtkliststore.c (gtk_list_store_get_sort_column_id): Update the
      	implementations.
      35a3099e
  24. 05 Sep, 2004 1 commit
    • Matthias Clasen's avatar
      Allow sorting of tree models to be turned off again. (#151139, Torsten · 71e3cae5
      Matthias Clasen authored
      Sun Sep  5 01:04:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Allow sorting of tree models to be turned off
      	again.  (#151139, Torsten Schoenfeld)
      
      	* gtk/gtktreesortable.h:
      	Add GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID.
      
      	* gtk/gtktreestore.c (gtk_tree_store_sort):
      	* gtk/gtkliststore.c (gtk_list_store_sort): Don't sort if
      	the list store is not sorted.
      71e3cae5
  25. 22 Aug, 2004 1 commit
  26. 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
  27. 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
  28. 04 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      s/childs/children/g. · c9cf312c
      Matthias Clasen authored
      Wed Aug  4 01:37:57 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreeview.c:
      	* gtk/gtktreestore.c:
      	* gtk/gtktreemodelfilter.c:
      	* gtk/gtknotebook.c: s/childs/children/g.
      c9cf312c
  29. 04 Jul, 2004 1 commit
  30. 26 Jun, 2004 1 commit
  31. 25 Jun, 2004 1 commit
  32. 06 Mar, 2004 1 commit
  33. 02 Mar, 2004 1 commit
    • Owen Taylor's avatar
      gtk/gtktreestore.c (gtk_tree_store_reorder) Fix up the interpretation of · d0f6b481
      Owen Taylor authored
      Tue Mar  2 16:18:43 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktreestore.c (gtk_tree_store_reorder)
              * gtk/gtkliststore.c (gtk_list_store_reorder): Fix
              up the interpretation of new_order to match what
              it means elsewhere, document the meaning of new_order.
      
              * gtk/gtkcombobox.c (gtk_combo_box_model_rows_reordered):
              Fix interpretation of new_order.
      
              * tests/testcombochange.c (on_reorder): Fix interpretation
              of new_order.
      
              * tests/testcombochange.c (on_reorder): Fix hitting
              "reorder" with an empty list.
      d0f6b481
  34. 30 Jan, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fixes #132975. · a9fbfc99
      Federico Mena Quintero authored
      2004-01-30  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes #132975.
      
      	* gtk/gtkfilesystem.c (gtk_file_system_make_path): Return NULL,
      	not FALSE.
      	(gtk_file_system_volume_render_icon): Likewise.
      
      	* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
      	Likewise.
      
      	* gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Return 0,
      	not FALSE.
      
      	* gtk/gtktoolbar.c (gtk_toolbar_get_drop_index): Return -1, not
      	FALSE.
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): Return 0,
      	not FALSE.
      	(gtk_text_iter_get_bytes_in_line): Likewise.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
      	Likewise.
      
      	* gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Return FALSE, not
      	0.
      a9fbfc99
  35. 09 Sep, 2003 1 commit
    • Kristian Rietveld's avatar
      Big TreeView DnD fixage, makes drops on empty models work, makes TreeStore · b78691f0
      Kristian Rietveld authored
      Wed Sep 10 01:06:44 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Big TreeView DnD fixage, makes drops on empty models work, makes
      	TreeStore DnD work and gets rid of gtk-tree-model-drop-append.
      	Related bugs #95362 and #113314. I don't want to touch this code
      	ever again.
      
      	* gtk/gtktreeprivate.h (GtkTreePrivate): add empty_view_drop field.
      
      	* gtk/gtktreednd.c (gtk_tree_get_row_drag_data): add check
      	for selection_data->length.
      
      	* gtk/gtktreeview.c (struct DestRow), (dest_row_free),
      	(set_dest_row), (get_dest_row): we don't store just the row ref
      	anymore, but a struct with the row ref and additional info,
      	(set_destination_row): handle drops on empty space and some
      	style fixes,
      	(get_logical_dest_row): also return path_down_mode/drop_append_mode
      	flags, handle dropping childs on their new parents, rewrite
      	drop append handling into something saner,
      	(gtk_tree_view_drag_motion): show a "drop possible arrow" on empty
      	spaces,
      	(gtk_tree_view_drag_drop): updates for updated backend,
      	(gtk_tree_view_drag_data_received): updates for updated backend,
      	path down mode (treestore DnD) handling,
      	(gtk_tree_view_set_drag_dest_row): set empty_view_drop flag,
      	when we are trying to drop a row on an empty model,
      	(gtk_tree_view_get_drag_dest_row): handle empty_view_drop flag.
      
      	* gtk/gtkliststore.c (gtk_list_store_drag_data_received),
      	(gtk_list_store_row_drop_possible): style and drop-append fixes.
      
      	* gtk/gtktreestore.c (gtk_tree_store_drag_data_received): ditto.
      b78691f0
  36. 04 Jun, 2003 1 commit
    • Matthias Clasen's avatar
      Document restriction on types. · f114b14a
      Matthias Clasen authored
      2003-06-05  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreestore.c (gtk_tree_store_new):
      	* gtk/gtkliststore.c (gtk_list_store_new): Document restriction on
      	types.
      f114b14a
  37. 27 Jan, 2003 1 commit
  38. 14 Jan, 2003 2 commits
    • Murray Cumming's avatar
      Fixes #102168. · 5c466a9f
      Murray Cumming authored
      2002-12-29  Murray Cumming  <murrayc@usa.net>
      
      	Fixes #102168.
      
      	* gtk/gtkliststore.c, gtktreednd.c, gtktreestore.c:
      	Actually implement the GtkTreeDragSource::row_draggable virtual
      	function in GtkListStore and GtkTreeStore instead of just checking
      	whether it's implemented at all. This means that DnD isn't broken by
      	gtkmm's virtual function wrappers. The alternative would be to
      	hard-code the TRUE return value into gtkmm's wrappers, but that's
      	part of GTK+'s implementation, not it's API.
      5c466a9f
    • Kristian Rietveld's avatar
      The full changelog for this commit is too long to paste here, so to avoid · 1fb04c5f
      Kristian Rietveld authored
      annoying everybody I will write a short summary here.
      
      Fixes for: #102890, #103198, #102618, #93629, #100172, #101235, #96650,
      #102379.
      
      Other than that also a ListStore fix and a TreeView scrolling fix.
      
      Those interested in the hairy details can checkout gtk+/ChangeLog.
      1fb04c5f