mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 20:51:10 +00:00
array: constify the additions array
We can only do that for by-value arrays, because compilers get confused with const when there's too many dereferences going on.
This commit is contained in:
parent
6f5833df28
commit
a9823e05bb
@ -215,7 +215,11 @@ gdk_array(splice) (GdkArray *self,
|
||||
gsize pos,
|
||||
gsize removed,
|
||||
gboolean stolen,
|
||||
#ifdef GDK_ARRAY_BY_VALUE
|
||||
const _T_ *additions,
|
||||
#else
|
||||
_T_ *additions,
|
||||
#endif
|
||||
gsize added)
|
||||
{
|
||||
gsize size;
|
||||
|
Loading…
Reference in New Issue
Block a user