From 4534e68bb0cb31734be338efa06cb6d3e00180f6 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Sun, 29 Nov 2015 22:03:16 +0100 Subject: GTK3: don't use deprecated gtk_{v/h}-box --- src/disks.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/disks.cpp') diff --git a/src/disks.cpp b/src/disks.cpp index a28983a..ee7f4dd 100644 --- a/src/disks.cpp +++ b/src/disks.cpp @@ -13,6 +13,10 @@ #include "interface.h" #include "iconthemewrapper.h" +#if GTK_CHECK_VERSION (3, 0, 0) +#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) +#endif + enum DiskColumns { /* string columns* */ -- cgit v1.2.1