[gtk+] Make the allocation parameter const
- From: Cody Russell <bratsche src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Make the allocation parameter const
- Date: Thu, 13 Aug 2009 16:21:20 +0000 (UTC)
commit 5c89bbf3de8cf0c8d0c86d0186d655b5176515e0
Author: Cody Russell <bratsche gnome org>
Date: Thu Aug 13 11:21:15 2009 -0500
Make the allocation parameter const
gtk/gtkwidget.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 02810f0..23dc17d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]