mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 02:50:17 +01:00
There are two macros: NM_GOBJECT_PROPERTIES_DEFINE_BASE() and NM_GOBJECT_PROPERTIES_DEFINE(). The former just defines the property enums and the obj_properties array. The latter also defines the functions _notify() and _nm_gobject_notify_together_impl(). That means, depending on whether you actually use _notify(), you have to choose one of the macros. I think that is unnecessarily cumbersome. Let's mark the function as _nm_unused so that the compiler doesn't complain about the unused function. I don't think it's a problem to use NM_GOBJECT_PROPERTIES_DEFINE() even if you don't actually use _notify(). |
||
|---|---|---|
| .. | ||
| c-list | ||
| c-rbtree | ||
| c-siphash | ||
| c-stdaux | ||
| n-acd | ||
| n-dhcp4 | ||
| nm-glib-aux | ||
| nm-libnm-core-aux | ||
| nm-libnm-core-intern | ||
| nm-std-aux | ||
| nm-udev-aux | ||
| nm-utils | ||
| systemd | ||
| meson.build | ||
| nm-default.h | ||
| nm-meta-setting.c | ||
| nm-meta-setting.h | ||
| nm-test-libnm-utils.h | ||
| nm-test-utils-impl.c | ||
| nm-version-macros.h.in | ||