Skip to content

gtkplacesview: Clear row_for_action when row is gone

Corey Berla requested to merge wip/corey/placesviewcrash into main

row_for_action is set when a row is right clicked (upon opening the popup). The previous row_for_action object data is also cleared during this process. If however, the row has disappeared (from an unmount outside of gtkplacesview, such as the sidebar or physical removal), we attempt to set object data on an invalid object. Set row_for_action as a weak pointer to avoid this situation.

See: https://bugzilla.redhat.com/show_bug.cgi?id=2188733

Merge request reports