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/gtkcellrendererspin.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/gtkcellrendererspin.c')
-rw-r--r-- | gtk/gtkcellrendererspin.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtkcellrendererspin.c b/gtk/gtkcellrendererspin.c index 7bac620607..2a7fc10ddf 100644 --- a/gtk/gtkcellrendererspin.c +++ b/gtk/gtkcellrendererspin.c @@ -50,8 +50,8 @@ static GtkCellEditable * gtk_cell_renderer_spin_start_editing (GtkCellRenderer GdkEvent *event, GtkWidget *widget, const gchar *path, - GdkRectangle *background_area, - GdkRectangle *cell_area, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, GtkCellRendererState flags); enum { PROP_0, @@ -290,13 +290,13 @@ gtk_cell_renderer_spin_button_press_event (GtkWidget *widget, } static GtkCellEditable * -gtk_cell_renderer_spin_start_editing (GtkCellRenderer *cell, - GdkEvent *event, - GtkWidget *widget, - const gchar *path, - GdkRectangle *background_area, - GdkRectangle *cell_area, - GtkCellRendererState flags) +gtk_cell_renderer_spin_start_editing (GtkCellRenderer *cell, + GdkEvent *event, + GtkWidget *widget, + const gchar *path, + const GdkRectangle *background_area, + const GdkRectangle *cell_area, + GtkCellRendererState flags) { GtkCellRendererSpinPrivate *priv; GtkCellRendererText *cell_text; |