summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererprogress.c
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/gtkcellrendererprogress.c
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/gtkcellrendererprogress.c')
-rw-r--r--gtk/gtkcellrendererprogress.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkcellrendererprogress.c b/gtk/gtkcellrendererprogress.c
index 486075d305..20abba0fcd 100644
--- a/gtk/gtkcellrendererprogress.c
+++ b/gtk/gtkcellrendererprogress.c
@@ -83,7 +83,7 @@ static void compute_dimensions (GtkCellRenderer *ce
gint *height);
static void gtk_cell_renderer_progress_get_size (GtkCellRenderer *cell,
GtkWidget *widget,
- GdkRectangle *cell_area,
+ const GdkRectangle *cell_area,
gint *x_offset,
gint *y_offset,
gint *width,
@@ -434,13 +434,13 @@ compute_dimensions (GtkCellRenderer *cell,
}
static void
-gtk_cell_renderer_progress_get_size (GtkCellRenderer *cell,
- GtkWidget *widget,
- GdkRectangle *cell_area,
- gint *x_offset,
- gint *y_offset,
- gint *width,
- gint *height)
+gtk_cell_renderer_progress_get_size (GtkCellRenderer *cell,
+ GtkWidget *widget,
+ const GdkRectangle *cell_area,
+ gint *x_offset,
+ gint *y_offset,
+ gint *width,
+ gint *height)
{
GtkCellRendererProgress *cellprogress = GTK_CELL_RENDERER_PROGRESS (cell);
GtkCellRendererProgressPrivate *priv = cellprogress->priv;