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>
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx
index 9e15e41..0d7ad9b 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;
}