summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderer.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-10-04 10:22:09 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-10-04 10:23:55 -0400
commit21eae6b6f385f64ebea0f4494a14bfd114050f66 (patch)
treefb1d79f08b0bbd42420073ca2757c7a81fff21fa /gtk/gtkcellrenderer.h
parent8970b174dc274104ff86733a48b0e05e33791431 (diff)
downloadgtk+-21eae6b6f385f64ebea0f4494a14bfd114050f66.tar.gz
Make GdkRectangle arguments in GtkCellRenderer use const consistently
https://bugzilla.gnome.org/show_bug.cgi?id=630900
Diffstat (limited to 'gtk/gtkcellrenderer.h')
-rw-r--r--gtk/gtkcellrenderer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h
index 02647033f7..6ad2b8c7f2 100644
--- a/gtk/gtkcellrenderer.h
+++ b/gtk/gtkcellrenderer.h
@@ -90,7 +90,7 @@ struct _GtkCellRendererClass
gint *natural_width);
void (* get_size) (GtkCellRenderer *cell,
GtkWidget *widget,
- GdkRectangle *cell_area,
+ const GdkRectangle *cell_area,
gint *x_offset,
gint *y_offset,
gint *width,
@@ -105,15 +105,15 @@ struct _GtkCellRendererClass
GdkEvent *event,
GtkWidget *widget,
const gchar *path,
- GdkRectangle *background_area,
- GdkRectangle *cell_area,
+ const GdkRectangle *background_area,
+ const GdkRectangle *cell_area,
GtkCellRendererState flags);
GtkCellEditable * (* 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);
/* Signals */