mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-23 19:24:38 +00:00
2008-04-02 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting-connection.c libnm-util/nm-setting-connection.h - (set_property, get_property, nm_setting_connection_class_init): remove the 'lockdown' property; it's functionality will be replaced by PolicyKit instead git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3525 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
b285600adc
commit
63ac0d725e
|
@ -1,3 +1,11 @@
|
|||
2008-04-02 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-util/nm-setting-connection.c
|
||||
libnm-util/nm-setting-connection.h
|
||||
- (set_property, get_property, nm_setting_connection_class_init): remove
|
||||
the 'lockdown' property; it's functionality will be replaced by
|
||||
PolicyKit instead
|
||||
|
||||
2008-04-01 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
|
||||
|
|
|
@ -11,7 +11,6 @@ enum {
|
|||
PROP_TYPE,
|
||||
PROP_AUTOCONNECT,
|
||||
PROP_TIMESTAMP,
|
||||
PROP_LOCKDOWN,
|
||||
|
||||
LAST_PROP
|
||||
};
|
||||
|
@ -88,9 +87,6 @@ set_property (GObject *object, guint prop_id,
|
|||
case PROP_TIMESTAMP:
|
||||
setting->timestamp = g_value_get_uint64 (value);
|
||||
break;
|
||||
case PROP_LOCKDOWN:
|
||||
setting->lockdown = g_value_dup_string (value);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
|
@ -116,9 +112,6 @@ get_property (GObject *object, guint prop_id,
|
|||
case PROP_TIMESTAMP:
|
||||
g_value_set_uint64 (value, setting->timestamp);
|
||||
break;
|
||||
case PROP_LOCKDOWN:
|
||||
g_value_set_string (value, setting->lockdown);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
|
@ -169,12 +162,4 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class)
|
|||
"Connection timestamp",
|
||||
0, G_MAXUINT64, 0,
|
||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE | NM_SETTING_PARAM_FUZZY_IGNORE));
|
||||
|
||||
g_object_class_install_property
|
||||
(object_class, PROP_LOCKDOWN,
|
||||
g_param_spec_string (NM_SETTING_CONNECTION_LOCKDOWN,
|
||||
"Lockdown",
|
||||
"Connection lockdown policy",
|
||||
NULL,
|
||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
||||
}
|
||||
|
|
|
@ -20,7 +20,6 @@ G_BEGIN_DECLS
|
|||
#define NM_SETTING_CONNECTION_TYPE "type"
|
||||
#define NM_SETTING_CONNECTION_AUTOCONNECT "autoconnect"
|
||||
#define NM_SETTING_CONNECTION_TIMESTAMP "timestamp"
|
||||
#define NM_SETTING_CONNECTION_LOCKDOWN "lockdown"
|
||||
|
||||
typedef struct {
|
||||
NMSetting parent;
|
||||
|
@ -29,13 +28,6 @@ typedef struct {
|
|||
char *type;
|
||||
gboolean autoconnect;
|
||||
guint64 timestamp;
|
||||
|
||||
/* One of:
|
||||
* device - specified device may only use this connection
|
||||
* connection - only this connection may be used to connect to compatible
|
||||
* networks (matched on SSID, Bluetooth address, etc)
|
||||
*/
|
||||
char *lockdown;
|
||||
} NMSettingConnection;
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Reference in a new issue