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/gtkcellrendererprogress.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/gtkcellrendererprogress.c')
-rw-r--r-- | gtk/gtkcellrendererprogress.c | 16 |
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; |