For the purposes of submitting a bug report I need to come up with a minimal C example that calls the GLib g_network_monitor_can_reach() function and prints the result. Can anyone help? I've never used GLib before.
On Debian I have the libglib2.0-0t64 package insgtalled, which provides /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0