NetworkManager/clients
Lubomir Rintel 42913505a3 all: fix -Wcast-function-type warnings
GCC 8.0's -Wcast-function-type objects casting function pointers to ones
with incompatible prototypes. Sometimes we do that on purpose though.

Notably, the g_source_set_callback()'s func argument can point to functions
of various prototypes. Also, libnm-glib/nm-remote-connection is perhaps
just not worth reworking, that would just be a waste of time.

A cast to void(*)(void) avoids the GCC warning, let's use it.

(cherry picked from commit ee916a1e9e)
2018-04-12 14:07:51 +02:00
..
cli cli/polkit-agent: drop an extra newline 2018-02-13 15:14:36 +01:00
common Add calls to g_simple_async_result_set_check_cancellable 2018-03-08 15:02:40 +01:00
tui all: fix -Wcast-function-type warnings 2018-04-12 14:07:51 +02:00
nm-online.c nm-online: fix wrong assertion failure during nm-online 2017-02-07 19:42:30 +01:00