summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-01-24 14:07:45 +0530
committerpranavk <pranavk@collabora.co.uk>2017-01-27 11:50:02 +0000
commit5f5073a84518e4a8660e0153c2e218fb75a85ec4 (patch)
tree586e7c8193d67e2e8c53c0d04f14a09d25ecbf44 /libreofficekit
parenta623b3a449dfcddaad5b621ff1c0b7a520edf4d6 (diff)
lok: Implement new callbacks for comment notifications
Change-Id: I298183b295c68c4a39cb1f6fffe4b89b4eaee0f3 Reviewed-on: https://gerrit.libreoffice.org/33469 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/source/gtk/lokdocview.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index c9c32afcab40..1cd2c05c2567 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -426,6 +426,8 @@ callbackTypeToString (int nType)
return "LOK_CALLBACK_REDLINE_TABLE_SIZE_CHANGED";
case LOK_CALLBACK_REDLINE_TABLE_ENTRY_MODIFIED:
return "LOK_CALLBACK_REDLINE_TABLE_ENTRY_MODIFIED";
+ case LOK_CALLBACK_COMMENT:
+ return "LOK_CALLBACK_COMMENT";
}
g_assert(false);
return nullptr;
@@ -1395,6 +1397,8 @@ callback (gpointer pData)
{
break;
}
+ case LOK_CALLBACK_COMMENT:
+ break;
default:
g_assert(false);
break;