summaryrefslogtreecommitdiff
path: root/src/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.cpp')
-rw-r--r--src/interface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index 738f564..d981c9a 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -41,6 +41,11 @@
#include "sysinfo.h"
#include "gsm_color_button.h"
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
+#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
+#endif
+
static void cb_toggle_tree (GtkAction *action, gpointer data);
static void cb_proc_goto_tab (gint tab);