Build failure in GNOME Continuous
@ebassi
Submitted by Emmanuele Bassi Link to original bug (#780844)
Description
GObject deprecated g_object_newv()
in commit:
https://git.gnome.org/browse/glib/commit/?id=e2c3b7f634ebce93154ea1d915ae8d65092f9bc5
And GParameter in commit:
https://git.gnome.org/browse/glib/commit/?id=2646c2173551c699c0459c95f49ec8b6fc0bf66d
Now, gjs is failing to build in GNOME Continuous because of -Werror=deprecated-declaration:
http://build.gnome.org/continuous/buildmaster/builds/2017/04/02/9/build/log-gjs.txt
Since the build has been failing for the past 12 hours, I pushed a simple patch to silence the deprecation warnings around the g_object_newv()
call. Nevertheless, the appropriate fix is to port the code that transforms properties into an array GParameter and calls g_object_newv() into code that creates two arrays of property names and values, and calls g_object_new_with_properties().