[evolution-data-server] e_cal_client_get_attachment_uris: Forgot to embed the AsyncContext.



commit 9a597519b23fbd5909c6c744d6e25f4f920476bb
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Mar 11 15:28:15 2013 -0400

    e_cal_client_get_attachment_uris: Forgot to embed the AsyncContext.

 calendar/libecal/e-cal-client.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/calendar/libecal/e-cal-client.c b/calendar/libecal/e-cal-client.c
index 6bc36b9..7df27a3 100644
--- a/calendar/libecal/e-cal-client.c
+++ b/calendar/libecal/e-cal-client.c
@@ -5744,6 +5744,9 @@ e_cal_client_get_attachment_uris (ECalClient *client,
 
        g_simple_async_result_set_check_cancellable (simple, cancellable);
 
+       g_simple_async_result_set_op_res_gpointer (
+               simple, async_context, (GDestroyNotify) async_context_free);
+
        g_simple_async_result_run_in_thread (
                simple, cal_client_get_attachment_uris_thread,
                G_PRIORITY_DEFAULT, cancellable);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]