mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 07:30:16 +01:00
libnm functions that return GPtrArrays of objects had a rule that if the array was empty, they would return NULL rather than a 0-length array. As it turns out, this is just a nuisance to clients, since in most places the code for the non-empty case would end up doing the right thing for the empty case as well (and where it doesn't, we can check "array->len == 0" just as easily as "array == NULL"). So just return the 0-length array instead. |
||
|---|---|---|
| .. | ||
| add-connection-dbus-glib.c | ||
| add-connection-libnm.c | ||
| get-active-connections-dbus-glib.c | ||
| get-ap-info-libnm.c | ||
| list-connections-dbus-glib.c | ||
| list-connections-libnm.c | ||
| Makefile.am | ||
| monitor-nm-running-dbus-glib.c | ||
| monitor-nm-running-GDBus.c | ||
| monitor-nm-state-GDBus.c | ||