tdf#102511: Add (allow-none) for backward GI compatibility

Desktop / LibreOffice - Pranav Kant [collabora.co.uk] - 21 October 2016 01:08 UTC

(allow-none), though deprecated since GI 1.42, is required to maintain the backward compatibility since (nullable), added in GI 1.42, is not understood by GI tools < 1.42 preventing the clients from passing a null parameter to various functions in the widget.

We can remove this deprecated (allow-none) annotation once we bump the GI version in LibreOffice to atleast 1.42

84bfe58 tdf#102511: Add (allow-none) for backward GI compatibility
include/LibreOfficeKit/LibreOfficeKitGtk.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share