diff options
author | Dan Williams <dcbw@redhat.com> | 2011-03-10 11:48:22 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-03-10 11:48:22 -0600 |
commit | 0ae870bf0988b48d087f75a3548d46dd5045ddb6 (patch) | |
tree | 346e7aafa007db4caf8ff0b1d2a5125d2ed3ffb1 /libnm-glib/nm-ip4-config.c | |
parent | c74dd8b0b7a80ecd8e8ae7d5b4636f657e509c38 (diff) | |
download | NetworkManager-0ae870bf0988b48d087f75a3548d46dd5045ddb6.tar.gz |
libnm-glib: remove deprecated nm_ip4_config_get_hostname() function
Deprecated since 0.7 days; it always returned NULL anyway.
Diffstat (limited to 'libnm-glib/nm-ip4-config.c')
-rw-r--r-- | libnm-glib/nm-ip4-config.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/libnm-glib/nm-ip4-config.c b/libnm-glib/nm-ip4-config.c index 78d89801bd..82f7e78b88 100644 --- a/libnm-glib/nm-ip4-config.c +++ b/libnm-glib/nm-ip4-config.c @@ -47,7 +47,6 @@ typedef struct { enum { PROP_0, PROP_ADDRESSES, - PROP_HOSTNAME, PROP_NAMESERVERS, PROP_DOMAINS, PROP_ROUTES, @@ -201,9 +200,6 @@ get_property (GObject *object, case PROP_ADDRESSES: nm_utils_ip4_addresses_to_gvalue (priv->addresses, value); break; - case PROP_HOSTNAME: - g_value_set_string (value, NULL); - break; case PROP_NAMESERVERS: g_value_set_boxed (value, nm_ip4_config_get_nameservers (self)); break; @@ -249,19 +245,6 @@ nm_ip4_config_class_init (NMIP4ConfigClass *config_class) G_PARAM_READABLE)); /** - * NMIP4Config:hostname: - * - * DEPRECATED. Don't use. - **/ - g_object_class_install_property - (object_class, PROP_HOSTNAME, - g_param_spec_string (NM_IP4_CONFIG_HOSTNAME, - "Hostname", - "Hostname", - NULL, - G_PARAM_READABLE)); - - /** * NMIP4Config:nameservers: * * The #GArray containing name servers (%guint32<!-- -->es) of the configuration. @@ -367,20 +350,6 @@ nm_ip4_config_get_addresses (NMIP4Config *config) } /** - * nm_ip4_config_get_hostname: (skip): - * @config: a #NMIP4Config - * - * DEPRECATED. Don't use. - * - * Returns: NULL - **/ -const char * -nm_ip4_config_get_hostname (NMIP4Config *config) -{ - return NULL; -} - -/** * nm_ip4_config_get_nameservers: * @config: a #NMIP4Config * |