GNOME Bugzilla – Bug 715117
[PATCH] bookmarks: Update action group sensitivity
Last modified: 2019-03-23 20:35:19 UTC
Fix crash that occurred on the toggle bookmark action when no document was open. It was possible to trigger the crash because the actions for the plugin were always sensitive, even when there was no open document. Additionally protect against NULL in toggle_bookmark.
Created attachment 261356 [details] [review] bookmarks: Update action group sensitivity Fix crash that occurred on the toggle bookmark action when no document was open. It was possible to trigger the crash because the actions for the plugin were always sensitive, even when there was no open document. Additionally protect against NULL in toggle_bookmark.
Review of attachment 261356 [details] [review]: nice catch
The following fix has been pushed: 8381ae8 bookmarks: Update action group sensitivity
Created attachment 261358 [details] [review] bookmarks: Update action group sensitivity Fix crash that occurred on the toggle bookmark action when no document was open. It was possible to trigger the crash because the actions for the plugin were always sensitive, even when there was no open document. Additionally protect against NULL in toggle_bookmark.
Also pushed to gnome-3-10 as 7ae3bc899f4ae34e25b9d158044c6d2e3ef38029 Sorry for the second patch, I'm fighting with git bz today!