1. 28 May, 2014 1 commit
  2. 19 Feb, 2014 1 commit
  3. 28 Jan, 2014 2 commits
  4. 21 Jan, 2014 1 commit
  5. 05 Jan, 2014 1 commit
  6. 22 Jul, 2013 1 commit
  7. 05 May, 2013 1 commit
  8. 28 Dec, 2012 1 commit
  9. 26 Nov, 2012 1 commit
  10. 27 Feb, 2012 1 commit
  11. 12 Jan, 2011 1 commit
  12. 06 Jan, 2011 1 commit
  13. 27 Sep, 2010 1 commit
  14. 28 Jun, 2010 2 commits
  15. 03 May, 2010 1 commit
    • John (J5) Palmieri's avatar
      add a get_indices_with_depth method to GtkTreePath with proper GI array annotations · 33194ff5
      John (J5) Palmieri authored
      * get_indices does not return a length so we can not annotate it to return an
        array in bindings that use GObject Introspection
      * this method is the same as get_indices except it takes an int * as the depth
        parameter which we can then use in the array annotation
      * in C this function returns an integer pointer array and updates depth to the
        number of integers in the array
      * in a GI binding this returns the native array type for the bound language
        (e.g. in PyGI this returns a list of integers)
      33194ff5
  16. 02 May, 2010 2 commits
  17. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  18. 24 Mar, 2006 1 commit
  19. 24 Feb, 2006 1 commit
  20. 13 Jul, 2005 1 commit
  21. 23 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Mark as const. · b69987f2
      Matthias Clasen authored
      2004-11-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkuimanager.h (gtk_ui_manager_get_type):
      	* gtk/gtktreeview.h (gtk_tree_view_get_type):
      	* gtk/gtktreeviewcolumn.h (gtk_tree_view_column_get_type):
      	* gtk/gtktreestore.h (gtk_tree_store_get_type):
      	* gtk/gtktreeselection.h (gtk_tree_selection_get_type):
      	* gtk/gtktreemodelfilter.h (gtk_tree_model_filter_get_type):
      	* gtk/gtktreemodel.h (gtk_tree_iter_get_type):
      	(gtk_tree_path_get_type):
      	(gtk_tree_row_reference_get_type):
      	* gtk/gtktoolitem.h (gtk_tool_item_get_type):
      	* gtk/gtktoolbutton.h (gtk_tool_button_get_type):
      	* gtk/gtktoggleaction.h (gtk_toggle_action_get_type):
      	* gtk/gtkthemes.h (gtk_theme_engine_get_type):
      	* gtk/gtktextiter.h (gtk_text_iter_get_type):
      	* gtk/gtksettings.h (gtk_settings_get_type):
      	* gtk/gtkselection.h (gtk_selection_data_get_type):
      	* gtk/gtkradioaction.h (gtk_radio_action_get_type):
      	* gtk/gtkmenutoolbutton.h (gtk_menu_tool_button_get_type):
      	* gtk/gtkliststore.h (gtk_list_store_get_type):
      	* gtk/gtkiconview.h (gtk_icon_view_get_type):
      	* gtk/gtkicontheme.h (gtk_icon_info_get_type):
      	* gtk/gtkiconfactory.h (gtk_icon_factory_get_type):
      	(gtk_icon_set_get_type):
      	(gtk_icon_source_get_type):
      	* gtk/gtkfilesystemwin32.h (gtk_file_system_win32_get_type):
      	* gtk/gtkfilesystemunix.h (gtk_file_system_unix_get_type):
      	* gtk/gtkfilesystem.h (gtk_file_folder_get_type):
      	(gtk_file_info_get_type, gtk_file_path_get_type):
      	(gtk_file_system_get_type):
      	* gtk/gtkfilefilter.h (gtk_file_filter_get_type):
      	* gtk/gtkfilechooserwidget.h (gtk_file_chooser_widget_get_type):
      	* gtk/gtkfilechooser.h (gtk_file_chooser_get_type):
      	* gtk/gtkfilechooserdialog.h (gtk_file_chooser_dialog_get_type):
      	* gtk/gtkexpander.h (gtk_expander_get_type):
      	* gtk/gtkentrycompletion.h (gtk_entry_completion_get_type):
      	* gtk/gtkcombobox.h (gtk_combo_box_get_type):
      	* gtk/gtkcomboboxentry.h (gtk_combo_box_entry_get_type):
      	* gtk/gtkclipboard.h (gtk_clipboard_get_type):
      	* gtk/gtkcellview.h (gtk_cell_view_get_type):
      	* gtk/gtkcellrenderertoggle.h (gtk_cell_renderer_toggle_get_type):
      	* gtk/gtkcellrenderertext.h (gtk_cell_renderer_text_get_type):
      	* gtk/gtkcellrendererprogress.h (gtk_cell_renderer_progress_get_type):
      	* gtk/gtkcellrendererpixbuf.h (gtk_cell_renderer_pixbuf_get_type):
      	* gtk/gtkcellrenderercombo.h (gtk_cell_renderer_combo_get_type):
      	* gtk/gtkcelllayout.h (gtk_cell_layout_get_type):
      	* gtk/gtkactiongroup.h (gtk_action_group_get_type):
      	* gtk/gtkaction.h (gtk_action_get_type):
      	* gtk/gtkaccessible.h (gtk_accessible_get_type):
      	* gtk/gtkaccelmap.h (gtk_accel_map_get_type):
      	* gtk/gtkaccelgroup.h (gtk_accel_group_get_type):
      	* gtk/gtkmessagedialog.h (gtk_message_dialog_get_type): Mark as const.
      
      	* gtk/gtkicontheme.h:  Don't mark gtk_icon_theme_error_quark()
      	as const, to be consistent with all the other error_quark
      	functions. (technically they are const, but since these are
      	called only in error paths, giving the compiler better
      	optimization opportunities doesn't matter much)
      
      	* gtk/gtk.symbols:
      	* gdk/gdk.symbols: Add attribute annotations.
      
      	* gtk/makegtkalias.pl:
      	* gdk/makegdkalias.pl: Keep attribute annotations, but strip PRIVATE.
      
      	* gtk/Makefile.am (gtk.def):
      	* gdk/Makefile.am (gdk.def): Strip attribute annotations, but keep
      	PRIVATE.
      b69987f2
  22. 17 Dec, 2003 1 commit
  23. 02 Dec, 2002 1 commit
  24. 08 Nov, 2002 1 commit
    • Soeren Sandmann's avatar
      docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml · b1165617
      Soeren Sandmann authored
      Fri Nov  8 20:14:52 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gdk/tmpl/dnd.sgml
      	docs/reference/gdk/tmpl/drawing.sgml
      	docs/reference/gdk/tmpl/gdk-unused.sgml
      	docs/reference/gdk/tmpl/gdkdisplay.sgml
      	docs/reference/gdk/tmpl/general.sgml
      	docs/reference/gdk/tmpl/input_devices.sgml
      	docs/reference/gdk/tmpl/selections.sgml
      	docs/reference/gtk/tmpl/gtkcellrenderer.sgml
      	docs/reference/gtk/tmpl/gtkcurve.sgml
      	docs/reference/gtk/tmpl/gtkdnd.sgml
      	docs/reference/gtk/tmpl/gtkitemfactory.sgml
      	docs/reference/gtk/tmpl/gtkmenu.sgml
      	docs/reference/gtk/tmpl/gtkoldeditable.sgml
      	docs/reference/gtk/tmpl/gtkoptionmenu.sgml
      	docs/reference/gtk/tmpl/gtkpreview.sgml
      	docs/reference/gtk/tmpl/gtkselection.sgml
      	docs/reference/gtk/tmpl/gtksocket.sgml
      	docs/reference/gtk/tmpl/gtkstyle.sgml
      	docs/reference/gtk/tmpl/gtktextbuffer.sgml
      	docs/reference/gtk/tmpl/gtktreemodel.sgml
      	docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c
      	gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h
      	gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c
      	gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h
      	gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h
      	gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h
      	gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h
      	gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h
      	gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h
      	gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c
      	gtk/gtktreemodel.h gtk/gtkwidget.h
      
      	Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow
      	without warnings. (#91680)
      b1165617
  25. 08 Oct, 2002 1 commit
  26. 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
  27. 11 Sep, 2002 1 commit
    • Jonathan Blandford's avatar
      Make GtkTreeRowReference a boxed type. · e8215b33
      Jonathan Blandford authored
      Wed Sep 11 15:48:38 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_get_type): Make
      	GtkTreeRowReference a boxed type.
      
      	* gtk/gtkliststore.c (gtk_list_store_finalize): free the root
      	list.
      
      	* gtk/gtktreestore.c (gtk_tree_store_finalize): free the root
      	nodes.
      e8215b33
  28. 26 Jul, 2002 1 commit
    • Kristian Rietveld's avatar
      API additions: _move, _reorder and _swap for stores, path constructor. · 6c3caf2a
      Kristian Rietveld authored
      Fri Jul 26 22:53:37 2002  Kristian Rietveld  <kris@gtk.org>
      
              API additions: _move, _reorder and _swap for stores, path
              constructor.
      
              * gtk/gtktreemodel.[ch] (gtk_tree_path_new_from_indices): new function.
      
              * gtk/gtkliststore.[ch]: added gtk_list_store_reorder_func (private),
              gtk_list_store_reorder, gtk_list_store_swap, gtk_list_store_move.
      
              * gtk/gtktreestore.[ch]: added gtk_tree_store_reorder_func (private),
              gtk_tree_store_reorder, gtk_tree_store_swap, gtk_tree_store_move.
      
      Fri Jul 26 22:32:57 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreestore.c (node_free): return FALSE,
              (gtk_tree_store_finalize): use g_node_traverse instead of
              g_node_children_foreach, so the whole tree will be freed (#88854,
              patch from Emmanuel Briot).
      
      Fri Jul 26 22:32:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreeview.c (gtk_tree_view_button_press): fix some memleaks,
              (#84426, patch from Matthias Clasen).
      
      Fri Jul 26 22:31:25 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): _iter_children
              check shouldn't be in g_return_return_val_if_fail (pointed out by
              Josh Green, #88997),
              (gtk_tree_view_set_model): call _gtk_tree_view_column_unset_model
              for each column when we unset the model (part of #82484),
              (gtk_tree_view_get_cell_area): return if we ran out of tree or
              if we got an invalid path (#82376).
      
              * gtk/gtktreeprivate.h: add _gtk_tree_view_column_unset_model.
      
              * gtk/gtktreeviewcolumn.c: implement _gtk_tree_view_column_unset_model
              which disconnects the sort_column_changed_signal (part of #82484).
      
              * gtk/gtkliststore.c (gtk_list_store_insert): append row if the
              given postion is off the end of the tree (#85813).
      
              * gtk/gtkentry.c (gtk_cell_editable_key_press_event): let's use
              2-space indent, commit changes if up/down keys has been pressed,
              this overrides the focus key foo so the user won't be surprised
              (#84665).
      6c3caf2a
  29. 04 Jun, 2002 1 commit
  30. 25 Mar, 2002 1 commit
    • Jonathan Blandford's avatar
      Make path arg const, #75653 · 7cc14762
      Jonathan Blandford authored
      Sun Mar 24 10:32:38 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_path_copy): Make path arg const, #75653
      
      	* gtk/gtkfontsel.c (gtk_font_selection_show_available_styles): fix
      	a warning
      
      	* gtk/gtktreeview.c (gtk_tree_view_button_press): remove the grab
      	when we emit row_activated so that listeners of this signal can
      	grab the mouse, #75629
      7cc14762
  31. 02 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Switch style of stamp file usage. · f832e348
      Owen Taylor authored
      Sat Mar  2 13:26:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/Makefile.am: Switch style of stamp file usage.
      
              * gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported
              enumeration/fags TYPE variables over to macros for get_type() functions,
              for lazy definition and to get rid of expensive relocations.
      
              * gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch]
              gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch]
              gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type
              definitions over manually coded get_type() functions.
      
              * gtk/gtk.def: Updates for above
      
              * gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}:
              Remove from CVS, no longer used.
      
              * configure.in: Remove checks for awk.
      f832e348
  32. 24 Feb, 2002 2 commits
    • Jonathan Blandford's avatar
      at Feb 23 23:00:48 2002 Jonathan Blandford <jrb@redhat.com> · a265926e
      Jonathan Blandford authored
      	* gtk/gtktreemodel.h: add () to function macros as per owen's
      	request.
      
      	* gtk/gtkfontsel.c: (gtk_font_selection_select_best_style),
      	(gtk_font_selection_show_available_sizes),
      	(gtk_font_selection_set_font_name):
      	* gtk/gtktreemodel.c: (gtk_tree_model_get_iter_first),
      	(gtk_tree_model_foreach):
      	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_sort_level),
      	(gtk_tree_model_sort_build_level):
      	* gtk/gtktreeselection.c: (gtk_tree_selection_selected_foreach):
      	* gtk/gtktreeview.c: (validate_visible_area),
      	(gtk_tree_view_focus_to_cursor), (gtk_tree_view_set_model),
      	(gtk_tree_view_map_expanded_rows), (gtk_tree_view_search_move),
      	(gtk_tree_view_search_init):
      	* tests/testtreeview.c: (run_automated_tests): change iter_root
      	to iter_first
      a265926e
    • Jonathan Blandford's avatar
      change new_root to new_first to avoid confusion. · 5d973ef3
      Jonathan Blandford authored
      Sat Feb 23 22:10:52 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreemodel.c (gtk_tree_path_new_first): change new_root to
      	new_first to avoid confusion.
      	(gtk_tree_model_get_iter_first): ditto.
      5d973ef3
  33. 23 Feb, 2002 1 commit
  34. 09 Jan, 2002 1 commit
  35. 21 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Remove trailing commas in enum declarations. · 9b6c7327
      Owen Taylor authored
      Wed Nov 21 17:01:25 2001  Owen Taylor  <otaylor@redhat.com>
      	* gtk/gtkcellrenderer.h gtk/gtktreemodel.h
      	gtk/gtktreeprivate.h gtk/gtktreesortable.h: Remove
      	trailing commas in enum declarations.
      9b6c7327