diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-21 11:29:49 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-21 11:17:10 +0000 |
commit | 9f66db9c474f71f43d7a3667230241fd4fa4183f (patch) | |
tree | 858e2948669d573d3c54352ae5dcc3e6c217cb0f /libreofficekit | |
parent | 46bf504e0384d7491b9543604e594228c64318a1 (diff) |
sw lok: add LOK_CALLBACK_TEXT_VIEW_SELECTION
So a view can be aware where selections of other views are.
Change-Id: I5026b1ff2b99a4eedfd0bde32a05ceb8e2f424bc
Reviewed-on: https://gerrit.libreoffice.org/26542
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 60d4cceef925..39676f3daa70 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -346,6 +346,8 @@ callbackTypeToString (int nType) return "LOK_CALLBACK_CONTEXT_MENU"; case LOK_CALLBACK_INVALIDATE_VIEW_CURSOR: return "LOK_CALLBACK_INVALIDATE_VIEW_CURSOR"; + case LOK_CALLBACK_TEXT_VIEW_SELECTION: + return "LOK_CALLBACK_TEXT_VIEW_SELECTION"; } return nullptr; } @@ -1175,6 +1177,11 @@ callback (gpointer pData) gtk_widget_queue_draw(GTK_WIDGET(pDocView)); break; } + case LOK_CALLBACK_TEXT_VIEW_SELECTION: + { + // TODO: Implement me + break; + } default: g_assert(false); break; |