summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-eel-editable-label.c4
-rw-r--r--test/test-eel-labeled-image.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/test/test-eel-editable-label.c b/test/test-eel-editable-label.c
index f2ba6961..75dc3f49 100644
--- a/test/test-eel-editable-label.c
+++ b/test/test-eel-editable-label.c
@@ -6,6 +6,10 @@
#include <eel/eel-editable-label.h>
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
+#endif
+
static void
quit (GtkWidget *widget, gpointer data)
diff --git a/test/test-eel-labeled-image.c b/test/test-eel-labeled-image.c
index a90afebc..d59d8def 100644
--- a/test/test-eel-labeled-image.c
+++ b/test/test-eel-labeled-image.c
@@ -2,6 +2,9 @@
#include <eel/eel-labeled-image.h>
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
+#endif
static const char pixbuf_name[] = "/usr/share/pixmaps/mate-globe.png";