core: always use gulong to store signal handler ids
authorBeniamino Galvani <bgalvani@redhat.com>
Mon, 4 Jan 2016 09:29:06 +0000 (10:29 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Wed, 6 Jan 2016 20:25:55 +0000 (21:25 +0100)
commitf96abc8be53379898ed2cc1b6eb2f52341a86e3f
tree404450465a6afd1fb4f84557831bc345dc99ae60
parentfbd32869553dd631c486530a2e543c31041af5c2
core: always use gulong to store signal handler ids

We inconsistently use gulong,guint,int types to store signal handler
id, but the type returned by g_signal_connect() is a gulong.

This has no practical consequences because a int/guint is enough to
store the value, however it is better to use a consistent type, also
because nm_clear_g_signal_handler() accepts a pointer to the signal id
and thus it must be always called with the same pointer type.
15 files changed:
shared/nm-macros-internal.h
src/devices/nm-device-ethernet.c
src/devices/nm-device-macvlan.c
src/devices/nm-device-vlan.c
src/devices/nm-device.c
src/dhcp-manager/nm-dhcp-listener.c
src/nm-bus-manager.c
src/nm-policy.c
src/platform/tests/test-common.c
src/platform/tests/test-common.h
src/settings/nm-secret-agent.c
src/settings/nm-settings.c
src/settings/plugins/ifcfg-rh/plugin.c
src/settings/plugins/keyfile/plugin.c
src/vpn-manager/nm-vpn-manager.c