mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-20 02:10:12 +00:00
Make the allocation parameter const
This commit is contained in:
parent
2ba836defb
commit
5c89bbf3de
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user