summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Russell <bratsche@gnome.org>2009-08-13 11:21:15 -0500
committerCody Russell <bratsche@gnome.org>2009-08-13 11:21:15 -0500
commit5c89bbf3de8cf0c8d0c86d0186d655b5176515e0 (patch)
tree4351af6483b512619693e5bfda0c632fb2047382
parent2ba836defb0a862307e02209939dcd20970adf96 (diff)
downloadgdk-pixbuf-5c89bbf3de8cf0c8d0c86d0186d655b5176515e0.tar.gz
Make the allocation parameter const
-rw-r--r--gtk/gtkwidget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 02810f093..23dc17dac 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);