summaryrefslogtreecommitdiff
path: root/mate-panel/panel-ditem-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel-ditem-editor.c')
-rw-r--r--mate-panel/panel-ditem-editor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-panel/panel-ditem-editor.c b/mate-panel/panel-ditem-editor.c
index 7a4a9e64..9521df17 100644
--- a/mate-panel/panel-ditem-editor.c
+++ b/mate-panel/panel-ditem-editor.c
@@ -40,6 +40,10 @@
#include "panel-util.h"
#include "panel-marshal.h"
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_hbox_new(X, Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL, Y)
+#endif
+
struct _PanelDItemEditorPrivate
{
/* we keep a ditem around, since we can never have absolutely