aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-30 08:37:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-30 08:38:29 +0800
commitfc3123dc43dbe510efbff54baf7278ed2e607553 (patch)
treeb614721c4a00722c82dae1cc9711306dee0c963d /calendar/gui
parentd3d5ea2602c97877c9e72c27494a3bb51156abb8 (diff)
downloadgsoc2013-evolution-fc3123dc43dbe510efbff54baf7278ed2e607553.tar.gz
gsoc2013-evolution-fc3123dc43dbe510efbff54baf7278ed2e607553.tar.zst
gsoc2013-evolution-fc3123dc43dbe510efbff54baf7278ed2e607553.zip
Work around sudden disappearance of GdkRegion in GTK+ 2.90.5.
API was deprecated and removed in less than two hours! Sheesh!
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-day-view-main-item.c2
-rw-r--r--calendar/gui/e-week-view-event-item.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view-main-item.c b/calendar/gui/e-day-view-main-item.c
index 5de9b76546..0229f51602 100644
--- a/calendar/gui/e-day-view-main-item.c
+++ b/calendar/gui/e-day-view-main-item.c
@@ -41,6 +41,8 @@
#include "comp-util.h"
#include "calendar-config.h"
+#include "e-util/gtk-compat.h"
+
#define E_DAY_VIEW_MAIN_ITEM_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_DAY_VIEW_MAIN_ITEM, EDayViewMainItemPrivate))
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c
index ae3fadfd59..4aa2cb065c 100644
--- a/calendar/gui/e-week-view-event-item.c
+++ b/calendar/gui/e-week-view-event-item.c
@@ -40,6 +40,8 @@
#include <text/e-text.h>
+#include "e-util/gtk-compat.h"
+
#define E_WEEK_VIEW_EVENT_ITEM_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_WEEK_VIEW_EVENT_ITEM, EWeekViewEventItemPrivate))