summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-12-06 22:41:38 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-06 22:41:38 +0100
commitf4e536a58fa07a70576a836248b42f4cab89e1fe (patch)
treeb47871a05f6b50b2edc70df5efd8ae0558d23897
parentc116036e71d397f3ca9827f2fc8f40afbe8e5d5d (diff)
downloadlibmatekbd-f4e536a58fa07a70576a836248b42f4cab89e1fe.tar.bz2
libmatekbd-f4e536a58fa07a70576a836248b42f4cab89e1fe.tar.xz
GTK3: don't use deprecated gtk_vbox_new
-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;