From a83157c7787025e3c2b336043707e0f26f7e46f3 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 7 Jul 2013 10:11:07 -0400 Subject: Bug 703638 - Keep ItipView alive while connecting to calendar --- modules/itip-formatter/itip-view.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/itip-formatter') 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 -- cgit v1.2.3