diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2019-11-11 22:33:26 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2019-11-29 10:07:12 +0100 |
commit | 63acb8cfa4d66baf48a0fe5cdc9ababb6f981666 (patch) | |
tree | df133e9cac417f66c44cc637debdf60916f35b6b /libreofficekit/source | |
parent | d687bbe1f4df068786ee6535854f0760e9447bea (diff) |
lokdocview: Add notify_property when the document is initialized
The property "is-initialized" was updated under the hood but no notification was sent to the user preventing to use features like g_object_bind_property
Change-Id: If5fab557fbd2b3ae2b2531799548907404d79a33
Reviewed-on: https://gerrit.libreoffice.org/82472
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'libreofficekit/source')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index 9e15e4173719..0d7ad9b9e7a6 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -906,6 +906,7 @@ static gboolean postDocumentLoad(gpointer pData) // we are completely loaded priv->m_bInit = true; + g_object_notify_by_pspec(G_OBJECT(pLOKDocView), properties[PROP_IS_INITIALIZED]); return G_SOURCE_REMOVE; } |