summaryrefslogtreecommitdiff
path: root/shell/ev-convert-metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-convert-metadata.c')
-rw-r--r--shell/ev-convert-metadata.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ev-convert-metadata.c b/shell/ev-convert-metadata.c
index 34ad3b7a..bb3840cd 100644
--- a/shell/ev-convert-metadata.c
+++ b/shell/ev-convert-metadata.c
@@ -29,6 +29,10 @@
#include <X11/Xlib.h>
#define EV_METADATA_NAMESPACE "metadata::atril"
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
+#endif
+
typedef struct {
xmlNodePtr cur;
xmlChar *uri;