diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-18 10:07:51 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-08-19 10:38:20 +0200 |
commit | 1be71c6e6aa4bb6506674220652163fbf0172935 (patch) | |
tree | f20394d520bd1621b6d4315ff1aae6788403f50b /include/LibreOfficeKit/LibreOfficeKitGtk.h | |
parent | fd590397606e944e9a2974a2c62759436a5a5b20 (diff) |
gtktiledviewer: specify author name when calling initializeForRendering()
Open two views, and type into both of them when a Writer doc with
redlining enabled is open: the manage changes dialog now shows how the
correct author is used when creating the redline items.
Change-Id: I48fb90301bfcc04b06d5be5544324ca76fe7b3d7
(cherry picked from commit f2afe318ce800c1b301f7e1aef769194aa676b12)
Diffstat (limited to 'include/LibreOfficeKit/LibreOfficeKitGtk.h')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitGtk.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h index fc7cec141396..cb96f20c0518 100644 --- a/include/LibreOfficeKit/LibreOfficeKitGtk.h +++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h @@ -75,10 +75,12 @@ GtkWidget* lok_doc_view_new_from_user_profile (const gchar* /** * lok_doc_view_new_from_widget: * @pDocView: The #LOKDocView instance + * @pRenderingArguments: (nullable): lok::Document::initializeForRendering() arguments. * * Returns: (transfer none): The #LOKDocView widget instance. */ -GtkWidget* lok_doc_view_new_from_widget (LOKDocView* pDocView); +GtkWidget* lok_doc_view_new_from_widget (LOKDocView* pDocView, + const gchar* pRenderingArguments); /** * lok_doc_view_open_document: |