mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-21 10:14:41 +00:00
device: return G_SOURCE_* instead of boolean in source callback
This commit is contained in:
parent
67faab3f4d
commit
b88de255fc
|
@ -7242,7 +7242,7 @@ device_ip_link_changed(gpointer user_data)
|
|||
ip_iface = pllink->name;
|
||||
|
||||
if (!ip_iface[0])
|
||||
return FALSE;
|
||||
return G_SOURCE_REMOVE;
|
||||
|
||||
if (!nm_streq(priv->ip_iface, ip_iface)) {
|
||||
_LOGI(LOGD_DEVICE,
|
||||
|
|
Loading…
Reference in a new issue