summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-08-25 13:58:06 +0300
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-08-30 09:46:57 +0200
commitdea74fbbe14e04968a215ffcf2acb54ec24b708e (patch)
treef978470627e423ffc980072c5f8f5589fc8f57a7 /libreofficekit
parent756c4ae5dcb948d6e675287e322720ab890c3e6b (diff)
Emit notification to a LibreOfficeKit client also when a redline is modified
Work in progress, not all modifications to a redline record cause notifications yet. (cherry picked from commit 8f96ab602a9e7cad1215abb693f33824a7b37679) Conflicts: sw/source/core/doc/docredln.cxx Change-Id: I01614cd6ede9576e9cc329889fef86342567325f
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 3c8640f19ea5..2e5431c2bd5e 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -419,6 +419,8 @@ callbackTypeToString (int nType)
return "LOK_CALLBACK_VIEW_LOCK";
case LOK_CALLBACK_REDLINE_TABLE_SIZE_CHANGED:
return "LOK_CALLBACK_REDLINE_TABLE_SIZE_CHANGED";
+ case LOK_CALLBACK_REDLINE_TABLE_ENTRY_MODIFIED:
+ return "LOK_CALLBACK_REDLINE_TABLE_ENTRY_MODIFIED";
}
g_assert(false);
return nullptr;
@@ -1330,6 +1332,10 @@ callback (gpointer pData)
{
break;
}
+ case LOK_CALLBACK_REDLINE_TABLE_ENTRY_MODIFIED:
+ {
+ break;
+ }
default:
g_assert(false);
break;