GNOME Bugzilla – Bug 705944
core: Add grl_operation_set_data_full()
Last modified: 2013-08-20 21:22:51 UTC
Let users specify a destroy function to offload to Grilo the management of the registered data lifecycle. The current alternative is to explicitly free the registered data when completing the operation by invoking its callback. This may become particularly annoying and prone to errors when the callback can be invoked in diffent place while handling errors in a multiple steps operation.
Created attachment 251554 [details] [review] core: Add grl_operation_set_data_full() Let users specify a destroy function to offload to Grilo the management of the registered data lifecycle.
commit 67f4b69ad785bd55f2aefd01b857c5ec2da3cba0 Author: Emanuele Aina <emanuele.aina@collabora.com> Date: Mon Aug 12 20:14:28 2013 +0200 core: Add grl_operation_set_data_full() Let users specify a destroy function to offload to Grilo the management of the registered data lifecycle. https://bugzilla.gnome.org/show_bug.cgi?id=705944 src/grl-operation.c | 26 ++++++++++++++++++++++++++ src/grl-operation.h | 2 ++ 2 files changed, 28 insertions(+)