[Libreoffice-commits] core.git: libreofficekit/source

Corentin Noël (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 29 09:08:12 UTC 2019


 libreofficekit/source/gtk/lokdocview.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 63acb8cfa4d66baf48a0fe5cdc9ababb6f981666
Author:     Corentin Noël <corentin.noel at collabora.com>
AuthorDate: Mon Nov 11 22:33:26 2019 +0100
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Fri Nov 29 10:07:12 2019 +0100

    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 at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

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;
 }


More information about the Libreoffice-commits mailing list