[Libreoffice-commits] core.git: libreofficekit/qa
Miklos Vajna
vmiklos at collabora.co.uk
Mon Jan 26 02:52:46 PST 2015
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit d6587d789ac67daa94677670c6e3a001e45c139d
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Mon Jan 26 11:40:33 2015 +0100
gtktiledviewer: fix for missing g_info()
Change-Id: I04a91065526b49bacb72c7d4865440efc3b3f7d0
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index 66c56e7..a12303d 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -21,6 +21,10 @@
#include <com/sun/star/awt/Key.hpp>
+#ifndef g_info
+#define g_info(...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, __VA_ARGS__)
+#endif
+
static int help()
{
fprintf( stderr, "Usage: gtktiledviewer <absolute-path-to-libreoffice-install> <path-to-document>\n" );
More information about the Libreoffice-commits
mailing list