diff options
Diffstat (limited to 'applets/clock/calendar-window.c')
-rw-r--r-- | applets/clock/calendar-window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/applets/clock/calendar-window.c b/applets/clock/calendar-window.c index fe61ce58..2a6de2f1 100644 --- a/applets/clock/calendar-window.c +++ b/applets/clock/calendar-window.c @@ -31,6 +31,7 @@ #include <glib/gi18n.h> #include <gio/gio.h> +#include <gtk/gtk.h> #define MATE_DESKTOP_USE_UNSTABLE_API #include <libmate-desktop/mate-desktop-utils.h> @@ -45,6 +46,11 @@ #define KEY_LOCATIONS_EXPANDED "expand-locations" +#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 + enum { EDIT_LOCATIONS, LAST_SIGNAL |