mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 07:40:08 +01:00
Rather than randomly including one or more of <glib.h>, <glib-object.h>, and <gio/gio.h> everywhere (and forgetting to include "nm-glib-compat.h" most of the time), rename nm-glib-compat.h to nm-glib.h, include <gio/gio.h> from there, and then change all .c files in NM to include "nm-glib.h" rather than including the glib headers directly. (Public headers files still have to include the real glib headers, since nm-glib.h isn't installed...) Also, remove glib includes from header files that are already including a base object header file (which must itself already include the glib headers). |
||
|---|---|---|
| .. | ||
| tests | ||
| Makefile.am | ||
| nm-dispatcher-api.h | ||
| nm-dispatcher-utils.c | ||
| nm-dispatcher-utils.h | ||
| nm-dispatcher.c | ||
| nm-dispatcher.conf | ||
| nm-dispatcher.xml | ||
| org.freedesktop.nm_dispatcher.service.in | ||