aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r--calendar/gui/e-week-view.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 305af64cd4..41b1d5fae1 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -3540,6 +3540,18 @@ e_week_view_on_editing_stopped (EWeekView *week_view,
out:
+ if (event) {
+ if (event->tooltip) {
+ gtk_widget_destroy (event->tooltip);
+ event->tooltip = NULL;
+ }
+
+ if (event->timeout != -1) {
+ g_source_remove (event->timeout);
+ event->timeout = -1;
+ }
+ }
+
g_free (text);
g_object_unref (comp);