summaryrefslogtreecommitdiff
path: root/gtk/gtktreemodel.h
Commit message (Collapse)AuthorAgeFilesLines
* gtk: fix many callback annotations to include closure informationEvan Nemerson2014-05-271-1/+1
| | | | | | | | | Without this information introspection-based consumers don't realize they can include context information, but instead think that they receive an extra gpointer argument (which they don't know how to handle). https://bugzilla.gnome.org/show_bug.cgi?id=730745
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-1/+1
| | | | Instead of Return value:
* docs: don't use structfield tagsWilliam Jon McCann2014-01-271-2/+2
|
* docs: use #*-struct instead of <structname>William Jon McCann2014-01-271-1/+1
|
* docs: add docs for GtkTreeModelIfaceWilliam Jon McCann2014-01-211-0/+32
|
* Add introspection friendly version of gtk_tree_path_new_from_indicesSimon Feltman2014-01-051-0/+3
| | | | | | | | | | Add gtk_tree_path_new_from_indicesv which takes an array of integers with a length. Use "Rename to" annotation to rename the method as gtk_tree_path_new_from_indices. This is needed because the original method takes variadic arguments which is not supported by introspection. https://bugzilla.gnome.org/show_bug.cgi?id=706119
* Add gtk_tree_model_rows_reordered_with_length introspectable methodSimon Feltman2013-07-221-0/+6
| | | | | | | | | Add introspection friendly version of gtk_tree_model_rows_reordered with a "_with_length" suffix. This allows language bindings to safely pass an array with length argument. Use the "Rename to:" annotation to expose as "gtk_tree_model_rows_reordered". https://bugzilla.gnome.org/show_bug.cgi?id=684558
* Add annotations to gtk headersMatthias Clasen2013-05-051-0/+62
| | | | Add annotations to all exported functions in GTK+ headers.
* Move single-include guards inside include guardsMatthias Clasen2012-12-281-3/+3
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* docs: Add gtk-doc comment for GtkTreeRowReferenceDavid King2012-11-261-3/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=93381
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Move GtkTreeModel docs inlineMatthias Clasen2011-01-121-1/+41
|
* Add gtk_tree_model_iter_previous() vfuncSzilárd Pfeiffer2011-01-051-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=128058
* Remove GtkObject completelyMatthias Clasen2010-09-261-3/+0
|
* Revert "Add length to gtk_tree_path_get_indices"Colin Walters2010-06-281-2/+4
| | | | | | This reverts commit eebb16eb1af11c5327dd06b23df82f7528566739. Was an accidental commit.
* Add length to gtk_tree_path_get_indicesColin Walters2010-06-281-4/+2
| | | | | | The old version wasn't introspectable as it didn't have a length return parameter. Also, delete gtk_tree_path_get_indices_with_depth, since it's no longer needed.
* Merge branch 'gtk-2-90'Matthias Clasen2010-05-061-10/+1
|\ | | | | | | | | Conflicts: gtk/gtkentry.h
| * Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDESMichael Natterer2010-05-031-1/+1
| | | | | | | | ...and disallow inclusion of individual files unconditionally.
| * Remove deprecated GtkTreeModel functions (macros)Christian Dywan2010-05-031-9/+0
| |
* | add a get_indices_with_depth method to GtkTreePath with proper GI array ↵John (J5) Palmieri2010-05-031-0/+4
|/ | | | | | | | | | | | | annotations * 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)
* whitespace cleanup: remove trailing whitespace and excess newlines andMichael Natterer2008-05-281-5/+2
| | | | | | | | | | | 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
* define __GTK_H_INSIDE__ around including all other headers.Michael Natterer2008-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* back out G_GNUC_WARN_UNUSED_RESULT on iterator functions which turned outTim Janik2006-03-241-9/+9
| | | | | | | | Fri Mar 24 14:53:20 2006 Tim Janik <timj@imendio.com> * gtk/gtktreemodel.h: * gtk/gtktextbtree.h: back out G_GNUC_WARN_UNUSED_RESULT on iterator functions which turned out to cause too much trouble.
* added G_GNUC_WARN_UNUSED_RESULT warnings for iterator functions, to avoidTim Janik2006-02-241-9/+9
| | | | | | | | | Fri Feb 17 14:20:29 2006 Tim Janik <timj@imendio.com> * gtk/gtktreemodel.h: * gtk/gtktextbtree.h: added G_GNUC_WARN_UNUSED_RESULT warnings for iterator functions, to avoid invalid iterators go unnoticed, suggested by Markku Vire <markku.vire@movial.fi>.
* new function. (#160879, Stefan Kost).Kristian Rietveld2005-07-131-0/+1
| | | | | | | 2005-07-13 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodel.[ch] (gtk_tree_row_reference_get_model): new function. (#160879, Stefan Kost).
* Mark as const.Matthias Clasen2004-11-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* now deprecated (#106953, reported by Matthias Clasen).Kristian Rietveld2003-12-171-2/+8
| | | | | | | | Thu Dec 18 00:07:01 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodel.h (gtk_tree_path_new_root), (gtk_tree_model_get_iter_root): now deprecated (#106953, reported by Matthias Clasen).
* Declare gtk_tree_row_reference_get_type(). It is already used by a macroMurray Cumming2002-12-021-0/+1
| | | | | | | 2002-12-02 Murray Cumming <murrayc@usa.net> * gtk/gtktreemodel.h: Declare gtk_tree_row_reference_get_type(). It is already used by a macro in the same header.
* docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgmlSoeren Sandmann2002-11-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* restore gtkobject.h #include so we don't break backwards compat.Manish Singh2002-10-081-0/+3
| | | | | | | Tue Oct 8 14:49:56 2002 Manish Singh <yosh@gimp.org> * gtk/gtktreemodel.h: restore gtkobject.h #include so we don't break backwards compat.
* Deprecation cleanupManish Singh2002-10-071-2/+2
| | | | | | | | | 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
* Make GtkTreeRowReference a boxed type.Jonathan Blandford2002-09-111-0/+2
| | | | | | | | | | | | | 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.
* API additions: _move, _reorder and _swap for stores, path constructor.Kristian Rietveld2002-07-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* add gtk_tree_model_get_string_from_iter (#74667).Kristian Rietveld2002-06-041-0/+2
| | | | | | | Tue Jun 4 19:18:20 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreemodel.[ch]: add gtk_tree_model_get_string_from_iter (#74667).
* Make path arg const, #75653Jonathan Blandford2002-03-251-1/+1
| | | | | | | | | | | | | 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
* Switch style of stamp file usage.Owen Taylor2002-03-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | 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.
* at Feb 23 23:00:48 2002 Jonathan Blandford <jrb@redhat.com>Jonathan Blandford2002-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | * 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
* change new_root to new_first to avoid confusion.Jonathan Blandford2002-02-241-2/+4
| | | | | | | | 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.
* Documented undocumented functions.Jonathan Blandford2002-02-231-7/+2
| | | | | | Sat Feb 23 00:28:47 2002 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodel.c: Documented undocumented functions.
* Use G_TYPE_INSTANCE_GET_INTERFACE. ditto. ditto. ditto. Don't referenceMike Kestner2002-01-091-1/+1
| | | | | | | | | | 2002-01-08 Mike Kestner <mkestner@speakeasy.net> * gtk/gtkcelleditable.h : Use G_TYPE_INSTANCE_GET_INTERFACE. * gtk/gtktreednd.h : ditto. * gtk/gtktreemodel.h : ditto. * gtk/gtktreesortable.h : ditto. * gtk/gtkwidget.h : Don't reference incomplete _GdkRectangle type.
* Remove trailing commas in enum declarations.Owen Taylor2001-11-211-1/+1
| | | | | | | 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.
* cvs got a broken pipe signal, missed these two. ChangeLog is already there.Kristian Rietveld2001-10-101-0/+3
|
* docsJonathan Blandford2001-10-031-2/+2
| | | | | | | | Wed Oct 3 00:37:09 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkcelleditable.c: docs * gtk/gtktreemodel.h: more docs.
* Rename interface signals to make them more clear. Also, changeJonathan Blandford2001-09-121-34/+31
| | | | | | | | | | | | | | | | 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!
* const correct string parameter.Tim Janik2001-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Aug 17 17:30:34 2001 Tim Janik <timj@gtk.org> * gtk/gtktreemodel.c (gtk_tree_path_new_from_string): const correct string parameter. * gtk/gtkoptionmenu.c (gtk_option_menu_set_menu): connect to GtkMenuShell::selection_done, now that we have it, instead of ::deactivate so we're not tearing the menu apart and notify the user prematurely. Thu Aug 16 05:22:01 2001 Tim Janik <timj@gtk.org> * gtk/gtkwindow.c (gtk_window_move_resize): if we actually move our window, clear window->need_default_position to avoid infinite loops. some comment fixups and GTK_RESIZE_IMMEDIATE fixups. Wed Aug 15 12:36:55 2001 Tim Janik <timj@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_set_model): move all model setup code into this place. get rid of GTK_TREE_VIEW_MODEL_SETUP usage. (gtk_tree_view_set_property): don't cast possible NULL objects. (gtk_tree_view_destroy): reset the model to NULL. * gtk/gtktreeselection.c (gtk_tree_selection_finalize): chain parent_class handler.
* remove gtk_tree_model_get_first in favor of gtk_tree_model_get_iter_root.Jonathan Blandford2001-07-091-2/+0
| | | | | | | | | | | | Mon Jul 9 12:50:51 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodel.c: remove gtk_tree_model_get_first in favor of gtk_tree_model_get_iter_root. * gtk/gtkliststore.c: Add a bunch of g_return statements. (gtk_list_store_iter_n_children): Fix up. * gtk/gtktreestore.c: Add a bunch of g_return statements.
* New function to walk through a model in a depth first manner, with theJonathan Blandford2001-06-291-0/+6
| | | | | | | | Fri Jun 29 00:13:34 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodel.c (gtk_tree_model_foreach): New function to walk through a model in a depth first manner, with the option to break out.
* Fix bug where collapsing a selected row would result in the cursor/anchorJonathan Blandford2001-06-181-1/+1
| | | | | | | | Mon Jun 18 19:41:38 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug where collapsing a selected row would result in the cursor/anchor getting screwed up.
* further justify gtk_tree_model_get_flags by adding a second flag for atk.Jonathan Blandford2001-06-121-1/+2
| | | | | | | | | | Tue Jun 12 12:41:27 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodel.h (GTK_TREE_MODEL_LIST_ONLY): further justify gtk_tree_model_get_flags by adding a second flag for atk. * gtk/gtktreemodel.c: make cursor behavior interact better with mouse presses.
* Evil function to deal with very large (TM) amounts of text. May be movedJonathan Blandford2001-05-221-0/+2
| | | | | | | | | | | | | | | | | | | | | Tue May 22 15:13:52 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_fixed_size): Evil function to deal with very large (TM) amounts of text. May be moved to GtkCellRenderer in the future, though I'm not sure it wants to be this accessible. * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): More sanity brought to this class. I like it. * tests/testtreecolumns.c (ViewColumnModel): Amazingly scary test case. Kids, don't try this at home. * gtk/gtktreemodel.c (gtk_tree_model_get_iter_root): new convenience function. * gtk/gtkwindow.c (gtk_window_set_geometry_hints): Fix typo in docs.