diff options
| author | Michael Biebl <biebl@debian.org> | 2011-05-04 21:35:57 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2011-05-04 21:35:57 +0200 |
| commit | 3241555aff5c969104e492501097f4cb8837bcca (patch) | |
| tree | 6d15a02d02a9f1bfcda6075ae2b8c71537d8038d /src/settings/nm-default-wired-connection.c | |
| parent | e1b66c145e71e7bc6a06845dd17788fb7b8e158e (diff) | |
| parent | 9f806e97a24bba61417ae312fcc0da40914266fb (diff) | |
Merge commit 'upstream/0.8.999' into experimental
Diffstat (limited to 'src/settings/nm-default-wired-connection.c')
| -rw-r--r-- | src/settings/nm-default-wired-connection.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/settings/nm-default-wired-connection.c b/src/settings/nm-default-wired-connection.c index 035d851c..9cbfc760 100644 --- a/src/settings/nm-default-wired-connection.c +++ b/src/settings/nm-default-wired-connection.c @@ -43,14 +43,6 @@ typedef struct { } NMDefaultWiredConnectionPrivate; enum { - PROP_0, - PROP_MAC, - PROP_DEVICE, - PROP_READ_ONLY, - LAST_PROP -}; - -enum { TRY_UPDATE, DELETED, LAST_SIGNAL @@ -120,7 +112,7 @@ nm_default_wired_connection_new (const GByteArray *mac, self = (NMDefaultWiredConnection *) g_object_new (NM_TYPE_DEFAULT_WIRED_CONNECTION, NULL); if (self) { priv = NM_DEFAULT_WIRED_CONNECTION_GET_PRIVATE (self); - priv->device = device; + priv->device = g_object_ref (device); priv->mac = g_byte_array_sized_new (ETH_ALEN); g_byte_array_append (priv->mac, mac->data, mac->len); |