Make the allocation parameter const

This commit is contained in:
Cody Russell 2009-08-13 11:21:15 -05:00
parent 2ba836defb
commit 5c89bbf3de

View File

@ -10779,8 +10779,8 @@ gtk_widget_get_allocation (GtkWidget *widget,
* Since: 2.18
*/
void
gtk_widget_set_allocation (GtkWidget *widget,
GtkAllocation *allocation)
gtk_widget_set_allocation (GtkWidget *widget,
const GtkAllocation *allocation)
{
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (allocation != NULL);