NetworkManager/clients
Benjamin Berg 55d749f940 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
(cherry picked from commit 26c215e22d)
(cherry picked from commit e1b99d9201)
(cherry picked from commit 2e62853509)
(cherry picked from commit 4bcb4c4ef2)
2018-03-08 15:42:55 +01:00
..
cli clients: fix appending integer to result in nmc_property_set_bytes() 2017-05-23 16:39:44 +02:00
common Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:42:55 +01:00
tui tui: generate names for bonds, teams and bridges 2017-02-20 16:09:13 +01:00
Makefile.am build: disable deprecation checks for internal compilation 2016-04-05 22:22:58 +02:00
nm-online.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00