diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-12-06 22:41:38 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-06 22:41:38 +0100 |
commit | f4e536a58fa07a70576a836248b42f4cab89e1fe (patch) | |
tree | b47871a05f6b50b2edc70df5efd8ae0558d23897 | |
parent | c116036e71d397f3ca9827f2fc8f40afbe8e5d5d (diff) | |
download | libmatekbd-f4e536a58fa07a70576a836248b42f4cab89e1fe.tar.bz2 libmatekbd-f4e536a58fa07a70576a836248b42f4cab89e1fe.tar.xz |
GTK3: don't use deprecated gtk_vbox_new
-rw-r--r-- | test/matekbd-indicator-test.c | 4 |
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; |