From 5c89bbf3de8cf0c8d0c86d0186d655b5176515e0 Mon Sep 17 00:00:00 2001 From: Cody Russell Date: Thu, 13 Aug 2009 11:21:15 -0500 Subject: [PATCH] Make the allocation parameter const --- gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 02810f0938..23dc17dac4 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -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);