diff options
author | monsta <[email protected]> | 2016-10-11 21:34:59 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-10-11 21:34:59 +0300 |
commit | 002845e5d9a1272b12dc493ea8b2426951069310 (patch) | |
tree | 1ca4315d3daa0078c8acf9385618af1bdbffd464 /test | |
parent | 14e2a76353f603a520a1b005bbe862a6b12db18b (diff) | |
download | libmatekbd-002845e5d9a1272b12dc493ea8b2426951069310.tar.bz2 libmatekbd-002845e5d9a1272b12dc493ea8b2426951069310.tar.xz |
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'test')
-rw-r--r-- | test/matekbd-indicator-test.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/matekbd-indicator-test.c b/test/matekbd-indicator-test.c index 904f460..cdd34fa 100644 --- a/test/matekbd-indicator-test.c +++ b/test/matekbd-indicator-test.c @@ -36,10 +36,6 @@ #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; @@ -60,7 +56,7 @@ int main(int argc, char** argv) matekbd_indicator_set_parent_tooltips(MATEKBD_INDICATOR (gki), TRUE); gtk_window_resize(GTK_WINDOW(mainwin), 250, 250); - vbox = gtk_vbox_new(TRUE, 6); + vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6); gtk_container_add(GTK_CONTAINER(mainwin), vbox); gtk_container_set_border_width(GTK_CONTAINER(vbox), 12); |