summaryrefslogtreecommitdiff
path: root/libreofficekit
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-31 11:26:59 +0200
committerAndrzej Hunt <andrzej.hunt@collabora.com>2014-07-31 11:36:23 +0200
commit62da1a834128f5762fa2e6ceb35fa61372ed5949 (patch)
tree85bfa48f62c3e663b52f32370dc3093287166a7e /libreofficekit
parent48f52a509aeed8c8a780bf07d3761a7699e8a36b (diff)
GtkComboBoxText requires gtk >= 2.24 (again).
Diffstat (limited to 'libreofficekit')
-rw-r--r--libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
index 9a403259de24..112e03eddac9 100644
--- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
@@ -27,7 +27,11 @@ static int help()
static GtkWidget* pDocView;
static GtkWidget* pDocViewQuad;
static GtkWidget* pVBox;
+// GtkComboBox requires gtk 2.24 or later
+#if ( GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION >= 24 ) || GTK_MAJOR_VERSION > 2
static GtkComboBoxText* pPartSelector;
+#endif
+
static LibreOfficeKit* pOffice;
static char* pFileName;