GNOME Bugzilla – Bug 703649
Simplify PhotosDlnaRenderer initialization
Last modified: 2013-07-19 12:54:24 UTC
It occurred to me that the way I handled the initialization GTask was completely bogus. :/ These patches fix it making the code is simpler and a bit shorter.
Created attachment 248450 [details] [review] dlna-renderer: Simplify async initialization code Pass the GTask as callback data as $DEITY intended instead of our instance, avoiding the current circular references mess.
Created attachment 248451 [details] [review] dlna-renderer: Use the default impl for GAsyncInitable::init_finish() It is less code for us and also more correct as it also handle the old compatibility case where the GAsyncResult is a GSimpleAsyncResult and not a GTask.
Thanks for the patches!