summaryrefslogtreecommitdiff
path: root/cut-n-paste/zoom-control
diff options
context:
space:
mode:
Diffstat (limited to 'cut-n-paste/zoom-control')
-rw-r--r--cut-n-paste/zoom-control/ephy-zoom-control.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cut-n-paste/zoom-control/ephy-zoom-control.c b/cut-n-paste/zoom-control/ephy-zoom-control.c
index d654395f..ed56bd1f 100644
--- a/cut-n-paste/zoom-control/ephy-zoom-control.c
+++ b/cut-n-paste/zoom-control/ephy-zoom-control.c
@@ -28,6 +28,10 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
+#endif
+
#define EPHY_ZOOM_CONTROL_GET_PRIVATE(object)\
(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_ZOOM_CONTROL, EphyZoomControlPrivate))