aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 6720b08143..3288559b11 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -6331,6 +6331,17 @@ e_day_view_on_editing_stopped (EDayView *day_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_object_unref (comp);
g_free (text);