NetworkManager/libnm
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 libnm: move fixup_desc_string() to nm-libnm-utils.c 2017-05-19 12:45:45 +02:00
generate-plugin-docs.pl libnm/generate-plugin-docs: ignore files without a setting name 2017-09-05 10:33:42 +02:00
generate-setting-docs.py generate-setting-docs: document aa{sv} type 2017-12-11 18:56:44 +01:00
libnm.pc.in libnm,pkg-config: provide a variable with VPN service directory 2015-08-19 15:13:11 +02:00
libnm.ver libnm-core: add functionality for dealing with tc-style traffic filter specifiers 2017-12-11 19:40:22 +01:00
NetworkManager.h clients: add tc qdisc support 2017-12-11 19:06:31 +01:00
nm-access-point.c libnm: handle errors gracefully in nm_access_point_connection_valid() 2017-03-24 12:08:03 +01:00
nm-access-point.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-active-connection.c libnm: add NMActivationStateFlags 2017-10-05 11:50:31 +02:00
nm-active-connection.h libnm: add NMActivationStateFlags 2017-10-05 11:50:31 +02:00
nm-client.c Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:02:40 +01:00
nm-client.h libnm: add gtk-doc Since markers for new API and missing enum documentation 2017-08-17 23:08:44 +02:00
nm-dbus-helpers.c Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:02:40 +01:00
nm-dbus-helpers.h libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-adsl.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-adsl.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-bond.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-bond.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-bridge.c all: change handling of connection.type for bluetooth NAP and in general 2017-06-07 09:07:17 +02:00
nm-device-bridge.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-bt.c all: change handling of connection.type for bluetooth NAP and in general 2017-06-07 09:07:17 +02:00
nm-device-bt.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-dummy.c libnm: add 'hw-address' property to NMDeviceDummy 2017-06-30 22:04:03 +02:00
nm-device-dummy.h libnm: add 'hw-address' property to NMDeviceDummy 2017-06-30 22:04:03 +02:00
nm-device-ethernet.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-ethernet.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-generic.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-generic.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-infiniband.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-infiniband.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-ip-tunnel.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-ip-tunnel.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-macsec.c libnm: (trivial): add missing return description in comment block 2017-01-17 10:34:16 +01:00
nm-device-macsec.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-macvlan.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-macvlan.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-modem.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-modem.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-olpc-mesh.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-olpc-mesh.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-ovs-bridge.c libnm: add support for ovs-bridge devices 2017-10-30 17:40:09 +01:00
nm-device-ovs-bridge.h libnm: add support for ovs-bridge devices 2017-10-30 17:40:09 +01:00
nm-device-ovs-interface.c libnm: add support for ovs-interface devices 2017-10-30 17:40:08 +01:00
nm-device-ovs-interface.h libnm: add support for ovs-interface devices 2017-10-30 17:40:08 +01:00
nm-device-ovs-port.c libnm: add support for ovs-port devices 2017-10-30 17:40:09 +01:00
nm-device-ovs-port.h libnm: add support for ovs-port devices 2017-10-30 17:40:09 +01:00
nm-device-ppp.c device: add NMDevicePPP 2017-08-05 08:03:15 +02:00
nm-device-ppp.h device: add NMDevicePPP 2017-08-05 08:03:15 +02:00
nm-device-private.h libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-team.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-team.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-tun.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-tun.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-vlan.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-vlan.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-vxlan.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-vxlan.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-wifi.c Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:02:40 +01:00
nm-device-wifi.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device-wimax.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-device-wimax.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-device.c Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:02:40 +01:00
nm-device.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-dhcp-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-dhcp-config.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-dhcp4-config.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-dhcp4-config.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-dhcp6-config.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-dhcp6-config.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-dns-manager.c libnm: fix memory leak in DNS manager 2017-04-20 14:33:31 +02:00
nm-dns-manager.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-ip-config.c libnm: coerce empty strings to NULL for D-Bus properties 2016-10-24 10:14:02 +02:00
nm-ip-config.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-ip4-config.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-ip4-config.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-ip6-config.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-ip6-config.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-libnm-utils.c libnm: move fixup_desc_string() to nm-libnm-utils.c 2017-05-19 12:45:45 +02:00
nm-libnm-utils.h libnm: move fixup_desc_string() to nm-libnm-utils.c 2017-05-19 12:45:45 +02:00
nm-manager.c Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:02:40 +01:00
nm-manager.h libnm: add gtk-doc Since markers for new API and missing enum documentation 2017-08-17 23:08:44 +02:00
nm-object-private.h libnm/udev: cache and reuse udev instance for NMDevice 2017-03-22 12:41:06 +01:00
nm-object.c Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:02:40 +01:00
nm-object.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-remote-connection-private.h libnm: add libnm/libnm-core (part 1) 2014-08-01 14:34:04 -04:00
nm-remote-connection.c Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:02:40 +01:00
nm-remote-connection.h libnm: add nm_remote_connection_update2() 2017-12-06 09:32:26 +01:00
nm-remote-settings.c Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:02:40 +01:00
nm-remote-settings.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-secret-agent-old.c Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:02:40 +01:00
nm-secret-agent-old.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-types.h libnm: add support for ovs-bridge devices 2017-10-30 17:40:09 +01:00
nm-vpn-connection.c {vpn,remote}-connection: disconnect signal handlers when disposed 2017-09-22 14:16:50 +02:00
nm-vpn-connection.h libnm/nm-vpn-connection: un-deprecate the NMVpnStateReason use in a header 2017-03-20 14:51:11 +01:00
nm-vpn-editor.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-vpn-editor.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-vpn-plugin-old.c all/trivial: unify construct-only property comments 2017-03-08 13:47:00 +01:00
nm-vpn-plugin-old.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-vpn-service-plugin.c libnm/vpn: unexport and destroy D-Bus glue instance with NMVpnServicePlugin 2018-01-15 14:45:02 +01:00
nm-vpn-service-plugin.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-wimax-nsp.c libnm: use the o.fd.DBus.ObjectManager API for object management 2016-11-10 16:48:48 +01:00
nm-wimax-nsp.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00