summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMihai Varga <mihai.varga@collabora.com>2015-07-21 18:49:21 +0300
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-22 07:43:04 +0000
commited9d6ef1e647b574f58ba870d71a4291d958c0ad (patch)
tree8a2b02446d626cec2719af39aeeb2443a777727b /include
parent233a634a112e6dae07dca5fb1296764cb0001503 (diff)
gtktiledviewer: method for resetting all tiles
[ Miklos Vajna: The point of the change is that without this, part switching in Calc does not work, as Calc does not invalidate everything after a part switch (unlike Impress), and we suppose the right fix for this is to let the clients throw away the tiles, rather than letting Calc send out invalidations, too. ] Change-Id: Id368b955c54efb87ecf3d59278ddb5cdbb2e7856 Reviewed-on: https://gerrit.libreoffice.org/17267 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitGtk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h
index 962f9d9265bb..b98a85646e0e 100644
--- a/include/LibreOfficeKit/LibreOfficeKitGtk.h
+++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h
@@ -63,6 +63,9 @@ char* lok_doc_view_get_part_name (LOKDocView*
int nPart);
void lok_doc_view_set_partmode (LOKDocView* pDocView,
int nPartMode);
+
+void lok_doc_view_reset_view (LOKDocView* pDocView);
+
/// Sets if the viewer is actually an editor or not.
void lok_doc_view_set_edit (LOKDocView* pDocView,
gboolean bEdit);