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/gtkcellrendererpixbuf.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/gtkcellrendererpixbuf.c')
-rw-r--r-- | gtk/gtkcellrendererpixbuf.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c index edd469e520..52b4ec98e5 100644 --- a/gtk/gtkcellrendererpixbuf.c +++ b/gtk/gtkcellrendererpixbuf.c @@ -39,7 +39,7 @@ static void gtk_cell_renderer_pixbuf_create_stock_pixbuf (GtkCellRendererPixbuf GtkWidget *widget); static void gtk_cell_renderer_pixbuf_get_size (GtkCellRenderer *cell, GtkWidget *widget, - GdkRectangle *rectangle, + const GdkRectangle *rectangle, gint *x_offset, gint *y_offset, gint *width, @@ -664,13 +664,13 @@ create_colorized_pixbuf (GdkPixbuf *src, static void -gtk_cell_renderer_pixbuf_get_size (GtkCellRenderer *cell, - GtkWidget *widget, - GdkRectangle *cell_area, - gint *x_offset, - gint *y_offset, - gint *width, - gint *height) +gtk_cell_renderer_pixbuf_get_size (GtkCellRenderer *cell, + GtkWidget *widget, + const GdkRectangle *cell_area, + gint *x_offset, + gint *y_offset, + gint *width, + gint *height) { GtkCellRendererPixbuf *cellpixbuf = (GtkCellRendererPixbuf *) cell; GtkCellRendererPixbufPrivate *priv = cellpixbuf->priv; |