[evolution-data-server] Do not cancel cancellable in free_get_objects_async_data()



commit 6a9e999fdced87a5bd8eadc49ee0558505f0680c
Author: Milan Crha <mcrha redhat com>
Date:   Tue Aug 2 16:27:56 2011 +0200

    Do not cancel cancellable in free_get_objects_async_data()

 calendar/libecal/e-cal-client.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/calendar/libecal/e-cal-client.c b/calendar/libecal/e-cal-client.c
index 7d956b3..cfd6403 100644
--- a/calendar/libecal/e-cal-client.c
+++ b/calendar/libecal/e-cal-client.c
@@ -1586,10 +1586,8 @@ free_get_objects_async_data (struct get_objects_async_data *goad)
 	if (!goad)
 		return;
 
-	if (goad->cancellable) {
-		g_cancellable_cancel (goad->cancellable);
+	if (goad->cancellable)
 		g_object_unref (goad->cancellable);
-	}
 	if (goad->destroy_cb_data)
 		goad->destroy_cb_data (goad->cb_data);
 	if (goad->client)



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