Fix array API inconsistency
authorMatthias Clasen <mclasen@redhat.com>
Sun, 24 Nov 2013 02:10:06 +0000 (21:10 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 24 Nov 2013 02:10:06 +0000 (21:10 -0500)
commitdedc990e28c0755b33ccbaee0c19d22f430563e6
tree2a8bec5804473499e20f925c904696119da01ad8
parent698393f15d32c6386588cf37b3aea8342ae45bf7
Fix array API inconsistency

g_array_remove_range and g_byte_array_remove_range return
a pointer to the array, g_ptr_array_remove_range returns
void. Since it is pretty harmless, make it return the array
too.

https://bugzilla.gnome.org/show_bug.cgi?id=159528
glib/garray.c
glib/garray.h