1. 27 Aug, 2010 1 commit
  2. 10 Aug, 2010 1 commit
  3. 13 Jul, 2010 1 commit
  4. 10 Jul, 2010 1 commit
  5. 07 Jul, 2010 1 commit
  6. 28 Jun, 2010 2 commits
  7. 04 Apr, 2010 2 commits
  8. 19 Feb, 2010 1 commit
  9. 16 Dec, 2009 1 commit
    • Colin Walters's avatar
      [introspection] Merge in Gtk-custom.c annotations · 6529c076
      Colin Walters authored
      The Gtk-custom.c file in gir-repository contained a number of
      introspection annotations.  Merge those into the GTK source files.
      
      Some documentation was moved from the tmpl/ files to accomodate
      the addition of annotations.
      6529c076
  10. 10 Aug, 2009 1 commit
  11. 30 Jul, 2009 1 commit
    • Kristian Rietveld's avatar
      Bug 586374 – code does not follow documentation · d743b2fb
      Kristian Rietveld authored
      Properly invalidate iterators in iter_next, iter_children,
      iter_nth_child and iter_parent when FALSE is returned.  ListStore was
      actually already mostly in order as the GSequence pointers are very
      strictly checked, but to be a little stricter we've added stamp = 0
      lines.  TreeStore did not invalidate its iterators, so stamp = 0 lines
      were added where appropriate.  Unit tests have been added to check this.
      
      Fixes bug 586374, reported by Mike Gemunde.
      d743b2fb
  12. 01 Jul, 2009 1 commit
  13. 27 Jun, 2009 1 commit
  14. 11 Sep, 2008 1 commit
    • Cosimo Cecchi's avatar
      Bug 536542 – gtk_list_store_set() documentation doesn't say whether · e3924911
      Cosimo Cecchi authored
      2008-09-11  Cosimo Cecchi  <cosimoc@gnome.org>
      
      	Bug 536542 – gtk_list_store_set() documentation doesn't say whether
      	values are copied.
      
      	* gtk/gtkliststore.c:
      	* gtk/gtktreestore.c:
      	Explicitly mention in the docs that gtk_[list,tree]_store_set copies
      	or keep	a reference of the values.
      
      svn path=/trunk/; revision=21349
      e3924911
  15. 12 Aug, 2008 1 commit
    • Michael Natterer's avatar
      examples/gtkdial/gtkdial.c gdk/gdkapplaunchcontext.c gdk/gdkpango.c · b2d286d5
      Michael Natterer authored
      2008-08-12  Michael Natterer  <mitch@imendio.com>
      
      	* examples/gtkdial/gtkdial.c
      	* gdk/gdkapplaunchcontext.c
      	* gdk/gdkpango.c
      	* gtk/gtkcellrendererpixbuf.c
      	* gtk/gtkcellrenderertext.c
      	* gtk/gtkcellview.c
      	* gtk/gtkcombobox.c
      	* gtk/gtkfontsel.c
      	* gtk/gtkinvisible.c
      	* gtk/gtkliststore.c
      	* gtk/gtktexttag.c
      	* gtk/gtktexttagtable.c: remove dereferencing from some function
      	pointers i missed before.
      
      
      svn path=/trunk/; revision=21089
      b2d286d5
  16. 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
  17. 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
  18. 25 May, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 534694 – Col id in GtkListStore could be out of range · 2bf2b07c
      Matthias Clasen authored
      2008-05-25  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 534694 – Col id in GtkListStore could be out of range
      
              * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
              a bit. Pointed out by Jan Arne Petersen.
      
      svn path=/trunk/; revision=20157
      2bf2b07c
  19. 24 May, 2008 1 commit
  20. 02 Mar, 2008 1 commit
    • Johan Dahlin's avatar
      Add translatable/context and comment attributes on <col> tags under a · e2534d54
      Johan Dahlin authored
      2008-02-29  Johan Dahlin  <johan@gnome.org>
      
      	* demos/gtk-demo/demo.ui:
      	* gtk/gtkbuilderparser.c:
      	* gtk/gtkbuilderprivate.h:
      	* gtk/gtkliststore.c:
      	* tests/buildertest.c:
      	Add translatable/context and comment attributes on
      	<col> tags under a GtkListStore. Refactor parts of the
      	translation api and make it available inside gtk+ itself.
      	Update tests and example.
      	Fixes a part of #518642
      
      
      svn path=/trunk/; revision=19685
      e2534d54
  21. 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
  22. 07 Aug, 2007 1 commit
  23. 27 Jun, 2007 1 commit
    • Johan Dahlin's avatar
      Add GtkBuilder and GError arguments to gtk_builder_value_from_string and · ec3bb377
      Johan Dahlin authored
          * gtk/gtkbuilder.c: (gtk_builder_get_parameters),
          (gtk_builder_value_from_string),
          (gtk_builder_value_from_string_type):
          * gtk/gtkbuilder.h:
          * gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property),
          (attributes_text_element):
          * gtk/gtkliststore.c: (list_store_text):
          * tests/buildertest.c: (test_value_from_string):
      
          Add GtkBuilder and GError arguments to gtk_builder_value_from_string
          and gtk_builder_value_from_string_type. (#451428)
      
      
      svn path=/trunk/; revision=18262
      ec3bb377
  24. 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
  25. 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
  26. 30 Apr, 2007 1 commit
    • Matthias Clasen's avatar
      Fix some compiler warnings. (#433642, Kjartan Maraas) · 6573ed5f
      Matthias Clasen authored
      2007-04-30  Matthias Clasen  <mclasen@redhat.com>
      
              Fix some compiler warnings.  (#433642, Kjartan Maraas)
      
              * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
              (gtk_file_system_win32_create_folder):
              * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.
      
              * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
              the right type to uri_func.
      
              * gtk/gtktext.c (gtk_text_key_press):
              * gtk/gtkstatusicon.c (gtk_status_icon_get_property):
              * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
      
              * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed):
              (gtk_tray_icon_delete):
              * gtk/gtkprintunixdialog.c (create_main_page):
              * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
      
              * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
      
      
      svn path=/trunk/; revision=17739
      6573ed5f
  27. 28 Apr, 2007 1 commit
  28. 04 Feb, 2007 1 commit
    • Soren Sandmann's avatar
      Remove these files since GSequence has been moved into GLib. · aa578571
      Soren Sandmann authored
      2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
      
      	* gtk/gtksequence.[ch]: Remove these files since GSequence has
      	been moved into GLib.
      
      	* gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
      
      	* configure.in: Require glib-2.13.0
      	
      
      svn path=/trunk/; revision=17259
      aa578571
  29. 15 Aug, 2006 1 commit
  30. 06 Jul, 2006 1 commit
  31. 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
  32. 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
  33. 14 May, 2006 1 commit
  34. 02 May, 2006 1 commit
  35. 30 Dec, 2005 1 commit
  36. 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
  37. 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