NetworkManager/clients/common
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
..
tests all: require glib 2.40 2018-01-18 11:45:36 +01:00
meson.build build: Rename settings-docs.c file 2018-01-12 09:39:06 +01:00
nm-client-utils.c client: fix nmc_string_is_valid ambiguous detection 2018-02-12 10:42:58 +01:00
nm-client-utils.h clients/cli: use a nicer password prompt 2017-12-18 14:47:37 +01:00
nm-meta-setting-access.c cli: fix returning no results in complete function 2017-06-28 14:46:15 +02:00
nm-meta-setting-access.h cli: make properties list a list of pointers 2017-04-13 10:10:12 +02:00
nm-meta-setting-desc.c cli: accept string values for secret flags 2018-02-16 14:25:25 +01:00
nm-meta-setting-desc.h clients: make meta data subtypes of NMObjBaseInst 2017-07-05 14:22:10 +02:00
nm-polkit-listener.c Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 14:52:45 +01:00
nm-polkit-listener.h all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
nm-secret-agent-simple.c clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nm-secret-agent-simple.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
nm-vpn-helpers.c cli: make static arrays in nm_vpn_get_secret_names() const 2017-04-05 14:18:55 +02:00
nm-vpn-helpers.h clients: drop redundant #include "NetworkManager.h" 2018-01-08 12:38:54 +01:00
settings-docs.h.in man: drop duplicate text from dhcp-client-id description 2018-03-06 15:25:48 +01:00
settings-docs.xsl cli: fix marking settings docs for translation 2017-04-23 23:45:02 +02:00