diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-07-31 11:26:59 +0200 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-07-31 11:36:23 +0200 |
commit | 62da1a834128f5762fa2e6ceb35fa61372ed5949 (patch) | |
tree | 85bfa48f62c3e663b52f32370dc3093287166a7e /libreofficekit | |
parent | 48f52a509aeed8c8a780bf07d3761a7699e8a36b (diff) |
GtkComboBoxText requires gtk >= 2.24 (again).
Broken in 77d083130948fa35f9f404656b8c170060e78043.
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 4 |
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; |