Re: [evolution-patches] Fix for #41059 (shell)



> +	(async_open_folder_idle): Add the pending open to the pending open
> +	list before calling asyncOpenFolder, instead of after.

I guess the listener is being called before asyncOpenFolder returns?

> +		priv->pending_opens = g_list_remove_link (priv->pending_opens,
> +							  priv->pending_opens);

That leaks a GList *. You want g_list_remove (priv->pending_opens,
closure);

Otherwise good.

-- Dan



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