[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - libreofficekit/qa

Andras Timar andras.timar at collabora.com
Mon Aug 3 13:08:57 PDT 2015


 libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 895fbcff9193257be2009c2f48535f047c7b8610
Author: Andras Timar <andras.timar at collabora.com>
Date:   Mon Aug 3 22:08:26 2015 +0200

    build fix on Cent OS 5
    
    Change-Id: Ic51c076e22b69e5e6a60cc92024a2cf3197e9939

diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index 144f807..2e6474e 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -470,7 +470,9 @@ int main( int argc, char* argv[] )
     g_signal_connect(pDocView, "command-changed", G_CALLBACK(signalCommand), NULL);
     g_signal_connect(pDocView, "search-not-found", G_CALLBACK(signalSearch), NULL);
     g_signal_connect(pDocView, "part-changed", G_CALLBACK(signalPart), NULL);
+#if ( GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION >= 24 ) || GTK_MAJOR_VERSION > 2
     g_signal_connect(pDocView, "size-changed", G_CALLBACK(signalSize), NULL);
+#endif
 
     // Input handling.
     g_signal_connect(pWindow, "key-press-event", G_CALLBACK(signalKey), pDocView);


More information about the Libreoffice-commits mailing list