diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-04-25 06:26:43 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-04-25 23:42:04 +0800 |
commit | 8b245838de22f470e867b28631240a018a0bc36b (patch) | |
tree | 23576c4320b45c8110640227b4a3c3545377cfeb /e-util/e-activity-proxy.c | |
parent | d0a0a397987684334c5fd41b364218782bc9bcfd (diff) | |
download | gsoc2013-evolution-8b245838de22f470e867b28631240a018a0bc36b.tar gsoc2013-evolution-8b245838de22f470e867b28631240a018a0bc36b.tar.gz gsoc2013-evolution-8b245838de22f470e867b28631240a018a0bc36b.tar.bz2 gsoc2013-evolution-8b245838de22f470e867b28631240a018a0bc36b.tar.lz gsoc2013-evolution-8b245838de22f470e867b28631240a018a0bc36b.tar.xz gsoc2013-evolution-8b245838de22f470e867b28631240a018a0bc36b.tar.zst gsoc2013-evolution-8b245838de22f470e867b28631240a018a0bc36b.zip |
Add e_activity_cancel().
Convenience function cancels the activity's GCancellable.
Diffstat (limited to 'e-util/e-activity-proxy.c')
-rw-r--r-- | e-util/e-activity-proxy.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/e-util/e-activity-proxy.c b/e-util/e-activity-proxy.c index 43c77a522f..aeef5d2cd8 100644 --- a/e-util/e-activity-proxy.c +++ b/e-util/e-activity-proxy.c @@ -156,13 +156,11 @@ static void activity_proxy_cancel (EActivityProxy *proxy) { EActivity *activity; - GCancellable *cancellable; activity = e_activity_proxy_get_activity (proxy); g_return_if_fail (E_IS_ACTIVITY (activity)); - cancellable = e_activity_get_cancellable (activity); - g_cancellable_cancel (cancellable); + e_activity_cancel (activity); activity_proxy_update (proxy); } |