malcontent/malcontent-control
Philip Withnall 695ee10235 malcontent-control: Fix use-after-free when closing
Sometimes, when closing the application,
`flush_update_blacklisted_apps()` would be called after
`MctRestrictApplicationsSelector` had been destroyed, leading to a
critical.

This was because the `MctRestrictApplicationsDialog` was being disposed
early due to its `destroy-with-parent` property being set. The dispose
function of `MctUserControls` was run several times due to GTK calling
`g_object_run_dispose()`, and the critical would be emitted the second
time.

Make the dispose function’s call to `flush_update_blacklisted_apps()` be
safe for multiple dispose calls, and ensure the dialog isn’t destroyed
too early.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2020-02-03 17:29:17 +00:00
..
application.c malcontent-control: Add a main stack page for when there are no users 2020-02-03 17:29:17 +00:00
application.h malcontent-control: Add initial skeleton application 2020-01-29 15:07:15 +00:00
carousel.c malcontent-control: Fix use of an uninitialised variable in the carousel 2020-02-03 17:29:17 +00:00
carousel.css malcontent-control: Add widgets from gnome-control-center 2020-01-29 15:28:21 +00:00
carousel.h malcontent-control: Reformat and rename code from gnome-control-center 2020-01-29 15:31:42 +00:00
carousel.ui malcontent-control: Add basic accessibility support to g-c-c widgets 2020-01-29 15:31:42 +00:00
gs-content-rating.c malcontent-control: Add widgets from gnome-control-center 2020-01-29 15:28:21 +00:00
gs-content-rating.h malcontent-control: Add widgets from gnome-control-center 2020-01-29 15:28:21 +00:00
main.c malcontent-control: Add initial skeleton application 2020-01-29 15:07:15 +00:00
main.ui malcontent-control: Hide administrator accounts 2020-02-03 17:29:17 +00:00
malcontent-control.gresource.xml malcontent-control: Move the app restrictions into a separate dialogue 2020-02-03 17:29:17 +00:00
meson.build malcontent-control: Add polkit policy support 2020-02-03 17:29:17 +00:00
org.freedesktop.MalcontentControl.appdata.xml.in malcontent-control: Add an AppData file 2020-01-29 15:27:33 +00:00
org.freedesktop.MalcontentControl.desktop.in malcontent-control: Add a desktop file 2020-01-29 15:27:33 +00:00
org.freedesktop.MalcontentControl.policy.in malcontent-control: Add polkit policy support 2020-02-03 17:29:17 +00:00
restrict-applications-dialog.c malcontent-control: Move the app restrictions into a separate dialogue 2020-02-03 17:29:17 +00:00
restrict-applications-dialog.h malcontent-control: Move the app restrictions into a separate dialogue 2020-02-03 17:29:17 +00:00
restrict-applications-dialog.ui malcontent-control: Move the app restrictions into a separate dialogue 2020-02-03 17:29:17 +00:00
restrict-applications-selector.c malcontent-control: Move the app restrictions into a separate dialogue 2020-02-03 17:29:17 +00:00
restrict-applications-selector.h malcontent-control: Move the app restrictions into a separate dialogue 2020-02-03 17:29:17 +00:00
restrict-applications-selector.ui malcontent-control: Move the app restrictions into a separate dialogue 2020-02-03 17:29:17 +00:00
user-controls.c malcontent-control: Fix use-after-free when closing 2020-02-03 17:29:17 +00:00
user-controls.h malcontent-control: Reformat and rename code from gnome-control-center 2020-01-29 15:31:42 +00:00
user-controls.ui malcontent-control: Fix use-after-free when closing 2020-02-03 17:29:17 +00:00
user-image.c malcontent-control: Reformat and rename code from gnome-control-center 2020-01-29 15:31:42 +00:00
user-image.h malcontent-control: Reformat and rename code from gnome-control-center 2020-01-29 15:31:42 +00:00
user-selector.c malcontent-control: Add MctUserSelector:show-administrators property 2020-02-03 17:29:17 +00:00
user-selector.h malcontent-control: Add an MctUserSelector widget 2020-01-30 09:31:40 +00:00
user-selector.ui malcontent-control: Add an MctUserSelector widget 2020-01-30 09:31:40 +00:00