network: Port to libnm 1.2

We also remove support for WiMAX (now unsupported by NetworkManager),
and InfiniBand (Enterprise feature), and the use of
the deprecated NM_SETTING_WIRELESS_SEC property.

With help from network-manager-applet patches by Jiří Klimeš and
Dan Winship.

https://bugzilla.gnome.org/show_bug.cgi?id=765910
This commit is contained in:
Bastien Nocera 2016-04-29 16:05:54 +02:00
parent 8400d3ed81
commit 9183d34947
62 changed files with 953 additions and 1427 deletions

View file

@ -25,9 +25,7 @@
#include <glib-object.h>
#include <gtk/gtk.h>
#include <nm-client.h>
#include <nm-access-point.h>
#include <nm-remote-settings.h>
#include <NetworkManager.h>
G_BEGIN_DECLS
@ -48,7 +46,6 @@ struct _NetConnectionEditor
GtkWidget *parent_window;
NMClient *client;
NMDevice *device;
NMRemoteSettings *settings;
NMConnection *connection;
NMConnection *orig_connection;
@ -81,8 +78,7 @@ NetConnectionEditor *net_connection_editor_new (GtkWindow *parent_wi
NMConnection *connection,
NMDevice *device,
NMAccessPoint *ap,
NMClient *client,
NMRemoteSettings *settings);
NMClient *client);
void net_connection_editor_set_title (NetConnectionEditor *editor,
const gchar *title);
void net_connection_editor_run (NetConnectionEditor *editor);