kbrown / rpms / libreoffice

Forked from rpms/libreoffice 2 years ago
Clone

Blame SOURCES/0365-tdf-96246-Make-pRenderingArguments-nullable.patch

135360
From c61bb4b9c05be5b546d3823052a6ac2f593ce15b Mon Sep 17 00:00:00 2001
135360
From: Pranav Kant <pranavk@libreoffice.org>
135360
Date: Sun, 6 Dec 2015 23:41:57 +0530
135360
Subject: [PATCH 365/398] tdf#96246: Make pRenderingArguments nullable
135360
135360
Type gchar* is not nullable by convention.
135360
135360
See:
135360
https://wiki.gnome.org/Projects/GObjectIntrospection/Annotations#Nullable_parameters
135360
135360
Change-Id: Ibfee816a3ef2d29c7376071fb61eda7bf0538efb
135360
Reviewed-on: https://gerrit.libreoffice.org/20425
135360
Tested-by: Jenkins <ci@libreoffice.org>
135360
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
135360
(cherry picked from commit 9e9703389e015d0f3520344715df6719559362e4)
135360
(cherry picked from commit f37903004d93e7d7b008b2667881159bd8fee1e1)
135360
---
135360
 include/LibreOfficeKit/LibreOfficeKitGtk.h | 2 +-
135360
 1 file changed, 1 insertion(+), 1 deletion(-)
135360
135360
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h
135360
index c947ce3f8369..8b6092c56ef2 100644
135360
--- a/include/LibreOfficeKit/LibreOfficeKitGtk.h
135360
+++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h
135360
@@ -65,7 +65,7 @@ GtkWidget*                     lok_doc_view_new_from_widget        (LOKDocView*
135360
  * lok_doc_view_open_document:
135360
  * @pDocView: The #LOKDocView instance
135360
  * @pPath: (transfer full): The path of the document that #LOKDocView widget should try to open
135360
- * @pRenderingArguments: lok::Document::initializeForRendering() arguments.
135360
+ * @pRenderingArguments: (nullable): lok::Document::initializeForRendering() arguments.
135360
  * @cancellable:
135360
  * @callback:
135360
  * @userdata:
135360
-- 
135360
2.12.0
135360