[evolution/gnome-3-8] Bug 703638 - Keep ItipView alive while connecting to calendar
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-8] Bug 703638 - Keep ItipView alive while connecting to calendar
- Date: Sun, 7 Jul 2013 14:25:35 +0000 (UTC)
commit c1603c10d2ba4005b3717e6ada62e1eca18ac659
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Jul 7 10:11:07 2013 -0400
Bug 703638 - Keep ItipView alive while connecting to calendar
(cherry picked from commit a83157c7787025e3c2b336043707e0f26f7e46f3)
modules/itip-formatter/itip-view.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/modules/itip-formatter/itip-view.c b/modules/itip-formatter/itip-view.c
index c9760d9..f768d73 100644
--- a/modules/itip-formatter/itip-view.c
+++ b/modules/itip-formatter/itip-view.c
@@ -3590,6 +3590,7 @@ itip_view_cal_opened_cb (GObject *source_object,
exit:
g_clear_object (&client);
+ g_clear_object (&view);
}
static void
@@ -3642,7 +3643,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);
}
}
@@ -3661,7 +3662,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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]