summaryrefslogtreecommitdiff
path: root/applets/notification_area
diff options
context:
space:
mode:
Diffstat (limited to 'applets/notification_area')
-rw-r--r--applets/notification_area/testtray.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/applets/notification_area/testtray.c b/applets/notification_area/testtray.c
index 4a2d0108..74cde0e7 100644
--- a/applets/notification_area/testtray.c
+++ b/applets/notification_area/testtray.c
@@ -29,6 +29,11 @@
#define NOTIFICATION_AREA_ICON "mate-panel-notification-area"
+#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 guint n_windows = 0;
typedef struct