[Github-comments] [geany-plugins] Addons bookmark refresh fix (#284)

db0451 notifications at xxxxx
Sat Sep 19 00:58:59 UTC 2015


>  	AoBookmarkListPrivate *priv = AO_BOOKMARK_LIST_GET_PRIVATE(bm);
> +	GeanyDocument *doc = document_find_by_id(container->document_id);
> +	ScintillaObject *sci = doc->editor->sci;

I assume the fix is this?

GeanyDocument *doc = document_find_by_id(container->document_id);

	if (doc != NULL && priv->enable_bookmarklist)
	{
		ScintillaObject *sci = doc->editor->sci;
// etc.


---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/284/files#r39913865
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20150918/a9ccf2c8/attachment.html>


More information about the Github-comments mailing list