policy: fix build with glib < 2.34

Use our compatibility version for g_clear_pointer() that is not defined
in glib < 2.34.
This commit is contained in:
Jiří Klimeš
2013-08-29 10:20:14 +02:00
parent f56d0c2baf
commit d3abb8c79a

View File

@@ -43,6 +43,7 @@
#include "nm-firewall-manager.h" #include "nm-firewall-manager.h"
#include "nm-dispatcher.h" #include "nm-dispatcher.h"
#include "nm-utils.h" #include "nm-utils.h"
#include "nm-glib-compat.h"
typedef struct { typedef struct {
NMManager *manager; NMManager *manager;