[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - libreofficekit/source

Miklos Vajna vmiklos at collabora.co.uk
Mon Jan 12 04:41:04 PST 2015


 libreofficekit/source/gtk/lokdocview.c |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit cd10029efcf9db263b4a8ba885247ee1840a4a6c
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Jan 12 13:39:59 2015 +0100

    libreofficekit: fix glib < 2.32 build
    
    Change-Id: I619b83ead202d23c7aba01cd6a9b9fd1016cb946

diff --git a/libreofficekit/source/gtk/lokdocview.c b/libreofficekit/source/gtk/lokdocview.c
index 65fdbfd..e43a9c7 100644
--- a/libreofficekit/source/gtk/lokdocview.c
+++ b/libreofficekit/source/gtk/lokdocview.c
@@ -154,7 +154,11 @@ static gboolean lok_docview_callback(gpointer pData)
 {
     LOKDocView* pDocView = pData;
     renderDocument(pDocView);
+#if GLIB_CHECK_VERSION(2,32,0)
     return G_SOURCE_REMOVE;
+#else
+    return FALSE;
+#endif
 }
 
 /// Our LOK callback, runs on the LO thread.


More information about the Libreoffice-commits mailing list