aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/itip-formatter/itip-view.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/itip-formatter/itip-view.c b/modules/itip-formatter/itip-view.c
index b0a7f424b7..3f77f407c9 100644
--- a/modules/itip-formatter/itip-view.c
+++ b/modules/itip-formatter/itip-view.c
@@ -3581,6 +3581,7 @@ itip_view_cal_opened_cb (GObject *source_object,
exit:
g_clear_object (&client);
+ g_clear_object (&view);
}
static void
@@ -3633,7 +3634,7 @@ start_calendar_server_by_uid (EMailPartItip *pitip,
start_calendar_server (
pitip, view, source, type,
itip_view_cal_opened_cb,
- view);
+ g_object_ref (view));
g_object_unref (source);
}
}
@@ -3652,7 +3653,7 @@ source_selected_cb (ItipView *view,
start_calendar_server (
pitip, view, source, pitip->type,
itip_view_cal_opened_cb,
- view);
+ g_object_ref (view));
}
static void