NetworkManager/clients/common
Benjamin Berg e1b99d9201 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)
2018-03-08 15:02:40 +01:00
..
tests core,clients: use our own string hashing function nm_str_hash() 2017-10-18 13:05:00 +02:00
nm-client-utils.c all: add more meaningful error code for unsupported IP method 2017-12-21 10:07:12 +01:00
nm-client-utils.h clients: move get_effective_activation_state() to nm-clients-utils.c 2017-10-16 17:26:49 +02: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 nmcli: team: do strict checking on runner-tx-hashes 2018-02-12 12:16:10 +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 15:02:40 +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: implement CancelGetSecrets() secret-agent API 2017-11-02 15:25:59 +01:00
nm-secret-agent-simple.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +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 include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
settings-docs.c.in libnm-core: docs update requires also settings-docs.c.in update 2018-01-12 15:20:23 +01:00
settings-docs.xsl cli: fix marking settings docs for translation 2017-04-23 23:45:02 +02:00