diff options
author | Michael Natterer <mitch@imendio.com> | 2008-01-25 09:30:40 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-01-25 09:30:40 +0000 |
commit | a362eecc4a0c9b4aa28bac7b6e64b8dfaf360646 (patch) | |
tree | b998c156b64284b009afcdf02107db6f03a1230e /gtk/gtkcellrenderer.h | |
parent | 594b710214c1e6bfe4724d01b49c0a1cb76b8568 (diff) | |
download | gtk+-a362eecc4a0c9b4aa28bac7b6e64b8dfaf360646.tar.gz |
gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h
2008-01-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.h
* gtk/gtkcellrenderer.h
* gtk/gtkimcontext.h
* gtk/gtkstyle.h
* gtk/gtktoolbar.h
* gtk/gtktooltip.h
* gtk/gtktreeprivate.h
* gtk/gtktreeviewcolumn.h
* gtk/gtkwidget.h: add const to constant structs which are passed
into GTK+. Also add some forgotten const for const strings.
* gtk/gtkbutton.c
* gtk/gtkcellrenderer.c
* gtk/gtkimcontext.c
* gtk/gtkstyle.c
* gtk/gtktoolbar.c
* gtk/gtktooltip.c
* gtk/gtktreeview.c
* gtk/gtktreeviewcolumn.c
* gtk/gtkwidget.c: changed accordingly.
svn path=/trunk/; revision=19399
Diffstat (limited to 'gtk/gtkcellrenderer.h')
-rw-r--r-- | gtk/gtkcellrenderer.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h index 375106acf4..d8428623d6 100644 --- a/gtk/gtkcellrenderer.h +++ b/gtk/gtkcellrenderer.h @@ -124,7 +124,7 @@ GType gtk_cell_renderer_get_type (void) G_GNUC_CONST; void gtk_cell_renderer_get_size (GtkCellRenderer *cell, GtkWidget *widget, - GdkRectangle *cell_area, + const GdkRectangle *cell_area, gint *x_offset, gint *y_offset, gint *width, @@ -132,23 +132,23 @@ void gtk_cell_renderer_get_size (GtkCellRenderer *cell, void gtk_cell_renderer_render (GtkCellRenderer *cell, GdkWindow *window, GtkWidget *widget, - GdkRectangle *background_area, - GdkRectangle *cell_area, - GdkRectangle *expose_area, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + const GdkRectangle *expose_area, GtkCellRendererState flags); gboolean gtk_cell_renderer_activate (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, - GdkRectangle *background_area, - GdkRectangle *cell_area, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, GtkCellRendererState flags); GtkCellEditable *gtk_cell_renderer_start_editing (GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, - GdkRectangle *background_area, - GdkRectangle *cell_area, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, GtkCellRendererState flags); void gtk_cell_renderer_set_fixed_size (GtkCellRenderer *cell, gint width, |