[Libreoffice-commits] core.git: libreofficekit/source
Pranav Kant
pranavk at libreoffice.org
Wed Dec 30 01:47:10 PST 2015
libreofficekit/source/gtk/lokdocview.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 398ef76d5dc3ec1ed22fa1d9fd9151b61cce54e2
Author: Pranav Kant <pranavk at libreoffice.org>
Date: Fri Dec 18 21:58:26 2015 +0530
tdf#96514: Emits a 'notify' signal when zoom changes
Change-Id: I5f55e4cce26096afcae3ad3711efa37757aada39
Reviewed-on: https://gerrit.libreoffice.org/20798
Reviewed-by: David Tardon <dtardon at redhat.com>
Tested-by: David Tardon <dtardon at redhat.com>
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 1915c5f..168338d 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -2485,6 +2485,8 @@ lok_doc_view_set_zoom (LOKDocView* pDocView, float fZoom)
nDocumentWidthPixels,
nDocumentHeightPixels);
+ g_object_notify_by_pspec(G_OBJECT(pDocView), properties[PROP_ZOOM]);
+
// Update the client's view size
GTask* task = g_task_new(pDocView, nullptr, nullptr, nullptr);
LOEvent* pLOEvent = new LOEvent(LOK_SET_CLIENT_ZOOM);
More information about the Libreoffice-commits
mailing list