summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertoggle.c
Commit message (Collapse)AuthorAgeFilesLines
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* cellrenderertoggle: Use the cell renderer's state flags as a base for renderingRui Matos2011-12-191-3/+5
| | | | | This allows us to pick the underlying widget's state flags that we don't explicitly set here.
* gtk: Add accessible types for cell renderersBenjamin Otte2011-12-161-0/+3
|
* Move documentation to inline comments: GtkCellRendererToggleJavier Jardón2011-04-111-0/+12
|
* Use 16 as default size for checkbutton indicatorCosimo Cecchi2011-03-031-1/+1
| | | | | So that 16x16 icons can be used from themes such as Adwaita in their natural size.
* Make GtkCellRendererToggle use GtkStyleContextCarlos Garnacho2011-01-271-38/+24
|
* Clip to cell_area when rendering cell contentKristian Rietveld2010-12-161-0/+7
| | | | | | | | | | | | | | | | | | | This fixes a GTK+ 3.0 regression. In GTK+ 2, the render method on GtkCellRenderer had a expose_area parameter, typically set to cell_area. This parameter was used for clipping cell content to be rendered to the cell area (and thus clipping to within the focus rectangle). During the rendering clean up this parameter was removed and no clipping put back into place. Since expose_area was usually equal to cell_area anyway, it does not make sense to reintroduce the expose_area parameter. Instead, we do clipping at two levels: - in gtk_cell_renderer_render() we clip to background_area. We cannot clip to cell_area here because we want to allow cell renderers to render in the background area (e.g. background color/effect). - cell renderers should clip to clip_area when rendering cell content individually (as they had to individually clip to expose_region before).
* Make GdkRectangle arguments in GtkCellRenderer use const consistentlyMatthias Clasen2010-10-041-13/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=630900
* API: Rename gtk_cairo_paint_*() to gtk_paint_*()Benjamin Otte2010-09-261-2/+2
| | | | | | Large patch, but just renaming. Indentation should still mostly be correct because I took care of keeping the indentation for this function name.
* API: Change cellrenderer->render vfunc to take a cairo_tBenjamin Otte2010-09-261-23/+21
| | | | Also constify the rectangle arguments. They were const anyway.
* Use GtkFooPrivate instead GtkFooPrivJavier Jardón2010-08-271-11/+11
|
* gtk/gtkcellrenderertoggle.c: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-2/+2
|
* gtkcellrenderertoggle: Move public members to private structureJavier Jardón2010-07-131-39/+48
|
* Use accessor functions to access GtkCellRendererJavier Jardón2010-07-131-14/+22
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Don't use GTK_WIDGET_STATE in internal code anymoreJavier Jardón2010-03-091-1/+1
| | | | | | Use gtk_widget_get/set_state() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Deprecate widget flag: GTK_WIDGET_HAS_FOCUSJavier Jardón2010-03-011-1/+1
| | | | | | Use gtk_widget_has_focus() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
* Make toggle cell renderer follow insensitive state of widgetKristian Rietveld2009-09-041-1/+1
| | | | | | | | | Likewise to other cell renderers, GtkCellRendererToggle now properly follows the insensitive state of the widget requesting rendering. It does this by checking the state of the widget pointer, not by using GtkCellRendererFlags (there exists an insensitive flags). Later on, I think we should move to using GtkCellRendererFlags and not the state of the widget requesting rendering. Patch merged from maemo-gtk.
* Add API for the sealed member "activatable"Michael Natterer2009-07-141-0/+41
|
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 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
* gtk/gtkcellrenderer.c gtk/gtkcellrendererpixbuf.cMichael Natterer2008-05-191-1/+1
| | | | | | | | | | | | | | | | 2008-05-19 Michael Natterer <mitch@imendio.com> * gtk/gtkcellrenderer.c * gtk/gtkcellrendererpixbuf.c * gtk/gtkcellrenderertoggle.c * gtk/gtkimagemenuitem.c * gtk/gtkmenutoolbutton.c * gtk/gtkoptionmenu.c * gtk/gtkstatusbar.c * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP. svn path=/trunk/; revision=20112
* Fix check/radio indicator drawing mess (bug #452225):Michael Natterer2007-07-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-27 Michael Natterer <mitch@imendio.com> Fix check/radio indicator drawing mess (bug #452225): * gtk/gtkstyle.c (gtk_default_draw_check): really decrease the indicator size by one to ensure odd size (don't say -= -1). * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): removed -1 adjustment from calls to gtk_paint_option(). Theme engines now get the actually configured size passed, not one pixel less. * gtk/gtkcellrenderertoggle.c * gtk/gtkcheckmenuitem.c: changed default indicator size from 12 to 13 so all widgets which draw check/option indicators have the same default size now (and render the same size after above changes). * README.in: mention above changes in the release notes. svn path=/trunk/; revision=18547
* refactor to initialize indicator_size to TOGGLE_WIDTH instead of theKristian Rietveld2007-01-101-1/+1
| | | | | | | | | | | 2007-01-10 Kristian Rietveld <kris@imendio.com> * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init): refactor to initialize indicator_size to TOGGLE_WIDTH instead of the hardcoded value of 12. svn path=/trunk/; revision=17128
* Make sure [xy]_offset are always being initialized, fix pixbuf rendererKristian Rietveld2006-12-031-0/+5
| | | | | | | | | | | | | | | | | 2006-12-03 Kristian Rietveld <kris@gtk.org> Make sure [xy]_offset are always being initialized, fix pixbuf renderer padding. (#108235, Sven Neuman). * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size), (gtk_cell_renderer_pixbuf_render): add padding in _render instead of _get_size. * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size): always initialize [xy]_offset. * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto. * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size): ditto.
* More of the sameMatthias Clasen2006-05-141-1/+1
|
* Boilerplate reductionMatthias Clasen2006-05-021-29/+1
|
* initialize the inconsistent field in the private structure,Kristian Rietveld2006-01-131-3/+33
| | | | | | | | | | | 2006-01-13 Kristian Rietveld <kris@imendio.com> * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init): initialize the inconsistent field in the private structure, (gtk_cell_renderer_toggle_class_init), (gtk_cell_renderer_toggle_{set,get}_property), (gtk_cell_renderer_toggle_get_size): introduce a indicator-size property.
* removed redundant calls to g_object_notify().Michael Natterer2005-11-141-7/+3
| | | | | | | 2005-11-14 Michael Natterer <mitch@imendio.com> * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_set_property): removed redundant calls to g_object_notify().
* Intern some more strings.Matthias Clasen2005-09-011-2/+2
| | | | | | | | | 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().
* Intern type names in code generated by glib-mkenums, too.Matthias Clasen2005-08-311-1/+1
| | | | | | | | | | | | | 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.
* Typo fixesMatthias Clasen2005-06-181-1/+1
|
* Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITEMatthias Clasen2005-03-221-8/+5
| | | | | | | | | | | | 2005-03-21 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE, GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like their G_ counterparts, but also mark the name, nick and blurb as static. * gtk/*.c: Mark param spec strings as static, using the new macros.
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-1/+4
| | | | | | | | | | | | | | | | | | 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.
* Add hidden aliases for exported symbols which are used internally in orderMatthias Clasen2004-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Support insensitive cells in tree views and combo boxes.Matthias Clasen2004-05-271-1/+5
|
* Document the ::toggled signal.Matthias Clasen2004-05-111-1/+9
| | | | | | | Tue May 11 00:38:25 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init): Document the ::toggled signal.
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-061-0/+1
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* Clip narrow columns in rtl-oriented tree views (#128089,Matthias Clasen2004-02-031-2/+2
| | | | | | | | | | | | | | | | | | | | | Tue Feb 3 01:38:06 2004 Matthias Clasen <maclas@gmx.de> Clip narrow columns in rtl-oriented tree views (#128089, chinen@jp.ibm.com): * gtk/gtkstyle.c (gtk_default_draw_option): * gtk/gtkstyle.c (gtk_default_draw_check): Clip to the given area. * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): Use the right clip area when calling gtk_cell_renderer_render(). * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_draw_focus): Use the right clip area when calling gtk_paint_focus(). * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): Use the right clip area when calling gtk_paint_toggle() or gtk_paint_check(). * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Clip to the expose_area when drawing the background rectangle.
* The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog andMatthias Clasen2004-01-161-8/+8
| | | | | | | | | | | | | | | | | | | | Fri Jan 16 23:59:01 2004 Matthias Clasen <maclas@gmx.de> The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and po/ChangeLog): * gtk/gtkintl.h: * gdk-pixbuf/gdk-pixbuf-i18n.h: * gdk/gdkintl.h: Define P_() for property blurbs and nicks. * gdk/gdkdisplaymanager.c: * gdk-pixbuf/gdk-pixbuf.c: * modules/input/gtkimcontextxim.c: * gtk/*.c: Mark property blurbs and nicks with P_(). * po/Makefile.in.in: Add --keyword=P_ to the xgettext invocation, since property blurbs and nicks are now marked with P_().
* Migrating all cell renderers to use the new instance private dataKristian Rietveld2003-12-181-22/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Dec 18 00:57:18 2003 Kristian Rietveld <kris@gtk.org> Migrating all cell renderers to use the new instance private data construction. * gtk/gtktreeprivate.h: remove GtkCellRendererInfo, as it is no longer being used. * gtk/gtkcellrenderer.c (gtk_cell_renderer_init), (gtk_cell_renderer_class_init), (gtk_cell_renderer_get_property), (set_cell_bg_color), (gtk_cell_renderer_render): remove old GtkCellRendererInfo handling, migrate to instance private data. * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done), (gtk_cell_renderer_text_start_editing): moved focus_out_id from GtkCellRendererInfo to text renderer private data. * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_init), (gtk_cell_renderer_pixbuf_class_init), (gtk_cell_renderer_pixbuf_finalize), (gtk_cell_renderer_pixbuf_get_property), (gtk_cell_renderer_pixbuf_set_property), (gtk_cell_renderer_pixbuf_create_stock_pixbuf), (gtk_cell_renderer_pixbuf_get_size), (gtk_cell_renderer_pixbuf_render): migrate to instance private data. * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init), (gtk_cell_renderer_toggle_get_property), (gtk_cell_renderer_toggle_set_property), (gtk_cell_renderer_toggle_render): migrate to instance private data.
* Fix includes.Kristian Rietveld2003-10-231-1/+1
| | | | | | | | Thu Oct 23 20:21:16 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c, gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c, gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes.
* The render vfunc takes a GdkDrawable* instead of a GdkWindow*, becauseMurray Cumming2003-09-301-1/+1
| | | | | | | | | | | | 2003-09-30 Murray Cumming <murrayc@usa.net> * gtk/gtkcellrenderer.h: The render vfunc takes a GdkDrawable* instead of a GdkWindow*, because that what it is given. The documentation was already correct. This should cause no API/ABI breakage with C compilers. * gtk/gtkcellrenderertext.c, gtkcellrendererpixbuf.c, gtkcellrenderertogger.c: Updated the declarations of the render vfunc implementation accordingly.
* handle rtl code.Jonathan Blandford2003-03-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sun Mar 2 23:35:57 2003 Jonathan Blandford <jrb@gnome.org> * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size): handle rtl code. * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto * gtk/gtktreeview.c: (invalidate_column), (invalidate_last_column), (gtk_tree_view_get_real_requested_width_from_column), (gtk_tree_view_size_allocate_columns), (gtk_tree_view_size_allocate), (gtk_tree_view_button_press), (gtk_tree_view_button_release_drag_column), (gtk_tree_view_update_current_reorder), (gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose), (gtk_tree_view_key_press), (gtk_tree_view_header_focus), (gtk_tree_view_get_background_xrange), (gtk_tree_view_get_arrow_xrange), (gtk_tree_view_is_expander_column), (gtk_tree_view_set_column_drag_info), (gtk_tree_view_move_cursor_left_right): Add RTL support. * gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an expand flag. * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_class_init), (gtk_tree_view_column_set_property), (gtk_tree_view_column_get_property), (gtk_tree_view_column_set_expand), (gtk_tree_view_column_get_expand), (gtk_tree_view_column_cell_process_action): Add support for expand flag
* demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.cManish Singh2003-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Thu Feb 27 17:44:24 2003 Manish Singh <yosh@gimp.org> * demos/gtk-demo/main.c * demos/gtk-demo/tree_store.c * gdk/x11/gdkscreen-x11.c * gtk/gtkcellrenderertoggle.c * gtk/gtkcolorsel.c * gtk/gtkdnd.c * gtk/gtkeditable.c * gtk/gtkentry.c * gtk/gtkmenu.c * gtk/gtkmenubar.c * gtk/gtkmenuitem.c * gtk/gtkmenushell.c * gtk/gtkrc.c * gtk/gtksettings.c * gtk/gtkstyle.c * gtk/gtktextbuffer.c * gtk/gtktextview.c * gtk/gtktreeviewcolumn.c * tests/testgtk.c * tests/testtext.c * tests/testtreeedit.c * tests/testtreefocus.c * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
* Fixed typo in gtkcellrendertoggle.c.Christian Neumair2002-12-041-1/+1
|
* add a gtk_list_store_sort_iter_changed line for some special case ...Kristian Rietveld2002-11-261-4/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Nov 26 22:26:04 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtk{tree,list}store.c (gtk_{tree,list}_store_real_set_value): add a gtk_list_store_sort_iter_changed line for some special case ... (#96647 (issue 1), testcases from Soeren Sandmann and Daniel Elstner). Tue Nov 26 22:18:06 2002 Kristian Rietveld <kris@gtk.org> Inconsistent state for toggle renderers, requested by Paolo Bacchilega in #88130. * gtk/gtktreeprivate.h: move GtkCellRendererInfo here. * gtk/gtkcellrenderer.c: moved GtkCellRendererInfo away, fix some indentation issues. * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init), (gtk_cell_renderer_toggle_set_property), (gtk_cell_renderer_toggle_get_property), (gtk_cell_renderer_toggle_render): add an inconsistent property. * gtk/gtkstyle.c (gtk_default_draw_check), (gtk_default_draw_option): support drawing inconsistent options/checks for cells. Tue Nov 26 22:14:14 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done), (gtk_cell_renderer_text_start_editing): add a focus_out_id to avoid calling _editing_done twice (which has nasty side-effects). (#96647, (issue 2) testcase from Soeren Sandmann). Tue Nov 26 22:12:21 2002 Kristian Rietveld <kris@gtk.org> #82739, patch from Padraig O'Briain. * gtk/gtktreeviewcolumn.[ch]: add gtk_tree_view_column_cell_get_position() Tue Nov 26 22:06:29 2002 Kristian Rietveld <kris@gtk.org> Yes, this chunk breaks ABI compatibility. Owen knows about it and agreed with it. It doesn't break ABI that bad though, things will still work. Please keep it silent :P. This patch fixes some keynav issues reported by Narayana Pattipati in #81633. (Also mentioned in #92037 (Sun tracking bug)). * gtk/gtkmarshalers.list: add two silly marshalers * gtk/gtktreeview.[ch] (gtk_tree_view_real_select_all), (gtk_tree_view_real_unselect_all), (gtk_tree_view_real_select_cursor_row), (gtk_tree_view_real_toggle_cursor_row), (gtk_tree_view_real_expand_collapse_cursor_row), (gtk_tree_view_real_start_interactive_search): change the return type from void to gboolean, update prototypes, functions, signals and entries in GtkTreeViewClass, (gtk_tree_view_class_init): add select_cursor_row binding for enter key, (gtk_tree_view_key_press): only navigate the header button if the header is also visible ... Tue Nov 26 22:05:48 2002 Kristian Rietveld <kris@gtk.org> API bit of #75745, reported by Richard Hult. * gtk/gtkcellrenderer.h (GtkCellRendererState): add GTK_CELL_RENDERER_FOCUSED, rest of this bug fix will follow later.
* Behaviour change, apply changes if the entry of the editable gets a focusKristian Rietveld2002-10-141-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Oct 15 00:53:14 2002 Kristian Rietveld <kris@gtk.org> Behaviour change, apply changes if the entry of the editable gets a focus out event (#82405). * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event): new function, (gtk_cell_renderer_text_start_editing): stop editing and apply changes on focus-out. Tue Oct 15 00:47:35 2002 Kristian Rietveld <kris@gtk.org> Fixes an *evil* GtkTreeModelSort bug, #93629. * gtk/gtktreemodel.c (release_row_references): return if the refs->list is NULL. * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): if we are swapping two rows (re-insertion on row_changed), also *emit* a rows_reordered signal. oops. Tue Oct 15 00:45:03 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtkliststore.c (gtk_list_store_remove_silently): free the actual link after the node has been removed (#92014). * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_column_finalize): free the cell_list and the child if the exists (#92014). Tue Oct 15 00:40:25 2002 Kristian Rietveld <kris@gtk.org> Don't accept drops if the model has been sorted, #93758) * gtk/gtkliststore.c (gtk_list_store_row_drop_possible): return FALSE if the list has been sorted. * gtk/gtktreestore.c (gtk_tree_store_row_drop_possible): check if drag_dest is a TreeStore, return FALSE if the tree has been sorted. Tue Oct 15 00:33:59 2002 Kristian Rietveld <kris@gtk.org> Compiler warning fixage, (#85858, #85859, #85860, #85872) * gtk/gtkcellrendererpixbuf (gtk_cell_renderer_pixbuf_render): s/guint/GtkCellRendererState/. * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): ditto. * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render), (gtk_cell_renderer_toggle_activate): ditto. * gtk/gtkliststore.c (gtk_list_store_get_flags): a s/guint/GtkTreeModelFlags/ on the return type.
* deprecation cleanupManish Singh2002-10-071-13/+15
| | | | | | | | Sun Oct 6 18:32:11 2002 Manish Singh <yosh@gimp.org> * gtk/gtkcelleditable.c gtk/gtkcellrenderer.[ch] gtk/gtkcellrendererpixbuf.[ch] gtk/gtkcellrenderertext.[ch] gtk/gtkcellrenderertoggle.[ch]: deprecation cleanup
* [ merge from stable ]Daniel Elstner2002-06-041-5/+4
| | | | | | | | 2002-06-04 Daniel Elstner <daniel.elstner@gmx.net> [ merge from stable ] * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): Really fix #83796: Revert jrb's last patch, and move the second if-clause into the fist one's else-branch. This is also what the other cell renderers do.
* add missing flag, #83796Jonathan Blandford2002-06-011-2/+2
| | | | | | | Sat Jun 1 10:43:28 2002 Jonathan Blandford <jrb@gnome.org> * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): add missing flag, #83796