diff options
Diffstat (limited to 'mate-panel/panel-addto.c')
-rw-r--r-- | mate-panel/panel-addto.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mate-panel/panel-addto.c b/mate-panel/panel-addto.c index 377ec852..401fd9ed 100644 --- a/mate-panel/panel-addto.c +++ b/mate-panel/panel-addto.c @@ -52,6 +52,11 @@ #include "panel-schemas.h" #include "panel-stock-icons.h" +#if GTK_CHECK_VERSION (3, 0, 0) +#define gtk_vbox_new(X, Y) gtk_box_new(GTK_ORIENTATION_VERTICAL, Y) +#define gtk_hbox_new(X, Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL, Y) +#endif + typedef struct { PanelWidget *panel_widget; |