NetworkManager/clients
Benjamin Berg 26c215e22d Add calls to g_simple_async_result_set_check_cancellable
If an operation is cancelled through the GCancellable, then the idiom is
that the operation is always cancelled, even if it has finished
successfully. To ensure this is the case, add calls to
g_simple_async_result_set_check_cancellable everywhere.

Without this, e.g. gnome-control-center will crash when switching away
from the power panel quickly, as the NMClient creation finishes
asynchronously and g-c-c assume that G_IO_ERROR_CANCELLED is returned to
ensure it doesn't access the now invalid user_data parameter.

https://bugzilla.gnome.org/show_bug.cgi?id=794088
2018-03-08 14:52:45 +01:00
..
cli cli: fix connections completion 2018-02-13 16:09:16 +01:00
common Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 14:52:45 +01:00
tui all: fix -Wcast-function-type warnings 2018-02-08 17:11:46 +01:00
meson.build build/meson: use variables for ldflags and linker-script 2018-01-11 12:46:01 +01:00
nm-online.c all: require glib 2.40 2018-01-18 11:45:36 +01:00