web-source: fix type mismatch on unused parameter

src/gclue-web-source.c:181:35: warning: passing argument 2 of ‘on_network_changed’ makes integer from pointer without a cast [-Wint-conversion]
         on_network_changed (NULL, NULL, user_data);
                                   ^~~~
src/freedesktop/geoclue/geoclue/src/gclue-web-source.c:135:38: note: expected ‘gboolean’ {aka ‘int’} but argument is of type ‘void *’
                     gboolean         available G_GNUC_UNUSED,
parent 2d4f3d56
Pipeline #7760 passed with stage
in 6 minutes and 24 seconds
......@@ -178,7 +178,7 @@ on_connectivity_changed (GObject *gobject,
GParamSpec *pspec,
gpointer user_data)
{
on_network_changed (NULL, NULL, user_data);
on_network_changed (NULL, FALSE, user_data);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment