diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-10-04 10:22:09 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-10-04 10:23:55 -0400 |
commit | 21eae6b6f385f64ebea0f4494a14bfd114050f66 (patch) | |
tree | fb1d79f08b0bbd42420073ca2757c7a81fff21fa /gtk/gtkcellrendererspinner.c | |
parent | 8970b174dc274104ff86733a48b0e05e33791431 (diff) | |
download | gtk+-21eae6b6f385f64ebea0f4494a14bfd114050f66.tar.gz |
Make GdkRectangle arguments in GtkCellRenderer use const consistently
https://bugzilla.gnome.org/show_bug.cgi?id=630900
Diffstat (limited to 'gtk/gtkcellrendererspinner.c')
-rw-r--r-- | gtk/gtkcellrendererspinner.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gtk/gtkcellrendererspinner.c b/gtk/gtkcellrendererspinner.c index 8cb020a4a8..5d50f8dfdd 100644 --- a/gtk/gtkcellrendererspinner.c +++ b/gtk/gtkcellrendererspinner.c @@ -80,12 +80,12 @@ static void gtk_cell_renderer_spinner_set_property (GObject *object, const GValue *value, GParamSpec *pspec); static void gtk_cell_renderer_spinner_get_size (GtkCellRenderer *cell, - GtkWidget *widget, - GdkRectangle *cell_area, - gint *x_offset, - gint *y_offset, - gint *width, - gint *height); + GtkWidget *widget, + const GdkRectangle *cell_area, + gint *x_offset, + gint *y_offset, + gint *width, + gint *height); static void gtk_cell_renderer_spinner_render (GtkCellRenderer *cell, cairo_t *cr, GtkWidget *widget, @@ -262,13 +262,13 @@ gtk_cell_renderer_spinner_set_property (GObject *object, } static void -gtk_cell_renderer_spinner_get_size (GtkCellRenderer *cellr, - GtkWidget *widget, - GdkRectangle *cell_area, - gint *x_offset, - gint *y_offset, - gint *width, - gint *height) +gtk_cell_renderer_spinner_get_size (GtkCellRenderer *cellr, + GtkWidget *widget, + const GdkRectangle *cell_area, + gint *x_offset, + gint *y_offset, + gint *width, + gint *height) { GtkCellRendererSpinner *cell = GTK_CELL_RENDERER_SPINNER (cellr); GtkCellRendererSpinnerPrivate *priv = cell->priv; |