summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-01-25 09:30:40 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-01-25 09:30:40 +0000
commita362eecc4a0c9b4aa28bac7b6e64b8dfaf360646 (patch)
treeb998c156b64284b009afcdf02107db6f03a1230e /gtk/gtkbutton.c
parent594b710214c1e6bfe4724d01b49c0a1cb76b8568 (diff)
downloadgtk+-a362eecc4a0c9b4aa28bac7b6e64b8dfaf360646.tar.gz
gtk/gtkbutton.h gtk/gtkcellrenderer.h gtk/gtkimcontext.h gtk/gtkstyle.h
2008-01-25 Michael Natterer <mitch@imendio.com> * gtk/gtkbutton.h * gtk/gtkcellrenderer.h * gtk/gtkimcontext.h * gtk/gtkstyle.h * gtk/gtktoolbar.h * gtk/gtktooltip.h * gtk/gtktreeprivate.h * gtk/gtktreeviewcolumn.h * gtk/gtkwidget.h: add const to constant structs which are passed into GTK+. Also add some forgotten const for const strings. * gtk/gtkbutton.c * gtk/gtkcellrenderer.c * gtk/gtkimcontext.c * gtk/gtkstyle.c * gtk/gtktoolbar.c * gtk/gtktooltip.c * gtk/gtktreeview.c * gtk/gtktreeviewcolumn.c * gtk/gtkwidget.c: changed accordingly. svn path=/trunk/; revision=19399
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r--gtk/gtkbutton.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 00216899cc..f444addb85 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -1217,12 +1217,12 @@ gtk_button_size_allocate (GtkWidget *widget,
}
void
-_gtk_button_paint (GtkButton *button,
- GdkRectangle *area,
- GtkStateType state_type,
- GtkShadowType shadow_type,
- const gchar *main_detail,
- const gchar *default_detail)
+_gtk_button_paint (GtkButton *button,
+ const GdkRectangle *area,
+ GtkStateType state_type,
+ GtkShadowType shadow_type,
+ const gchar *main_detail,
+ const gchar *default_detail)
{
GtkWidget *widget;
gint width, height;