aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-07 22:11:07 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-07 22:12:09 +0800
commita83157c7787025e3c2b336043707e0f26f7e46f3 (patch)
tree3e30aa2323a7cbd73ecc08333dbaab69bbfe8fe8
parent3c4c595ab9378f6a5d30430b3e026538f6d49953 (diff)
downloadgsoc2013-evolution-a83157c7787025e3c2b336043707e0f26f7e46f3.tar
gsoc2013-evolution-a83157c7787025e3c2b336043707e0f26f7e46f3.tar.gz
gsoc2013-evolution-a83157c7787025e3c2b336043707e0f26f7e46f3.tar.bz2
gsoc2013-evolution-a83157c7787025e3c2b336043707e0f26f7e46f3.tar.lz
gsoc2013-evolution-a83157c7787025e3c2b336043707e0f26f7e46f3.tar.xz
gsoc2013-evolution-a83157c7787025e3c2b336043707e0f26f7e46f3.tar.zst
gsoc2013-evolution-a83157c7787025e3c2b336043707e0f26f7e46f3.zip
Bug 703638 - Keep ItipView alive while connecting to calendar
-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