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
This commit is contained in:
committed by
Michael Natterer
parent
594b710214
commit
a362eecc4a
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user