summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/matekbd-indicator-test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/matekbd-indicator-test.c b/test/matekbd-indicator-test.c
index 47bde29..904f460 100644
--- a/test/matekbd-indicator-test.c
+++ b/test/matekbd-indicator-test.c
@@ -36,6 +36,10 @@
#include "X11/XKBlib.h"
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
+#endif
+
int main(int argc, char** argv)
{
GtkWidget* gki;