network: port to libnm

The libnm-glib is depreacted for a long time already.

https://bugzilla.gnome.org/show_bug.cgi?id=789811
This commit is contained in:
Lubomir Rintel
2017-10-31 11:38:20 +01:00
parent bc5be10d78
commit d71af5e579
7 changed files with 255 additions and 317 deletions

View File

@ -4,8 +4,8 @@
#include <glib-object.h>
#include <glib.h>
#include <nm-connection.h>
#include <nm-secret-agent.h>
#include <NetworkManager.h>
#include <nm-secret-agent-old.h>
G_BEGIN_DECLS
@ -29,7 +29,7 @@ typedef struct _ShellNetworkAgentPrivate ShellNetworkAgentPrivate;
struct _ShellNetworkAgent
{
/*< private >*/
NMSecretAgent parent_instance;
NMSecretAgentOld parent_instance;
ShellNetworkAgentPrivate *priv;
};
@ -37,7 +37,7 @@ struct _ShellNetworkAgent
struct _ShellNetworkAgentClass
{
/*< private >*/
NMSecretAgentClass parent_class;
NMSecretAgentOldClass parent_class;
};
/* used by SHELL_TYPE_NETWORK_AGENT */