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.
This commit is contained in:
Beniamino Galvani
2016-01-04 10:29:06 +01:00
parent fbd3286955
commit f96abc8be5
15 changed files with 28 additions and 28 deletions

View File

@@ -39,8 +39,8 @@
typedef struct {
NMBusManager * dbus_mgr;
guint new_conn_id;
guint dis_conn_id;
gulong new_conn_id;
gulong dis_conn_id;
GHashTable * signal_handlers;
} NMDhcpListenerPrivate;